BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/cubby-ui/autocomplete
This component no longer exists. It was in cubby-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-10 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Autocomplete

cubby-ui/autocomplete
RemovedComponent

A autocomplete component.

Live preview

live · rendered by the registry
Rendered by cubby-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://cubby-ui.dev/r/autocomplete.json

Source

registry/default/autocomplete/autocomplete.tsxcubby-ui.dev/r/autocomplete.json · first 6 KB
1import * as React from "react";
2import { Autocomplete as BaseAutocomplete } from "@base-ui/react/autocomplete";
3import { cn } from "@/lib/utils";
4import {
5 elevatedSurface,
6 type SurfaceLevel,
7} from "@/registry/default/lib/elevated";
8import {
9 ScrollArea,
10 type ScrollAreaProps,
11} from "@/registry/default/scroll-area/scroll-area";
12
13import { HugeiconsIcon } from "@hugeicons/react";
14import { ArrowDown01Icon, Cancel01Icon } from "@hugeicons/core-free-icons";
15const AutocompleteRoot = BaseAutocomplete.Root;
16
17function AutocompleteInput({
18 className,
19 showTrigger = false,
20 showClear = false,
21 variant = "default",
22 ...props
23}: BaseAutocomplete.Input.Props & {
24 showTrigger?: boolean;
25 showClear?: boolean;
26 variant?: "default" | "elevated";
27}) {
28 return (
29 <BaseAutocomplete.InputGroup
30 data-slot="autocomplete-input-group"
31 className={cn(
32 "relative",
33 "has-data-[slot=autocomplete-clear]:**:data-[slot=autocomplete-input]:pr-7",
34 "has-data-[slot=autocomplete-trigger]:**:data-[slot=autocomplete-input]:pr-7",
35 "has-data-[slot=autocomplete-clear]:has-data-[slot=autocomplete-trigger]:**:data-[slot=autocomplete-input]:pr-13",
36 )}
37 >
38 <BaseAutocomplete.Input
39 data-slot="autocomplete-input"
40 className={cn(
41 "placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex h-10 w-full min-w-0 rounded-lg border bg-clip-padding px-3 text-base font-normal disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-60 sm:h-9 md:text-sm",
42 variant === "default" ? "bg-input" : "bg-input-elevated",
43 "file:text-foreground file:inline-flex file:h-7 file:rounded-md file:border-0 file:bg-transparent file:text-sm file:font-medium",
44 "focus-visible:outline-ring/50 outline-0 outline-offset-0 outline-transparent transition-[outline-width,outline-offset,outline-color] duration-100 ease-out outline-solid focus-visible:outline-2 focus-visible:outline-offset-2",
45 "aria-invalid:outline-destructive/50 aria-invalid:outline-2 aria-invalid:outline-offset-2 aria-invalid:outline-solid",
46 className,
47 )}
48 {...props}
49 />
50 {(showClear || showTrigger) && (
51 <div className="absolute inset-y-0 right-3 flex items-center gap-2">
52 {showClear && <AutocompleteClear />}
53 {showTrigger && <AutocompleteTrigger />}
54 </div>
55 )}
56 </BaseAutocomplete.InputGroup>
57 );
58}
59
60// … truncated

What it pulls in

npm packages

  • @hugeicons/react
  • @hugeicons/core-free-icons

Other registry items

  • @cubby-ui/scroll-area
  • @cubby-ui/elevated

Files it writes

  • registry/default/autocomplete/autocomplete.tsx

Facts

Registry
cubby-ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-01
Last confirmed
8 days ago

Go to the source

Docs on cubby-ui cubby-ui.dev joncoronel/cubby-ui on GitHub Raw registry item This item as JSON

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex