BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/gr8monk3ys/combobox

combobox

gr8monk3ys/combobox
FreeComponent

combobox (identity-styled).

Install it

npx shadcn@latest add https://ui.lscaturchio.xyz/r/combobox.json

Source

components/ui/combobox.tsxui.lscaturchio.xyz/r/combobox.json · first 6 KB
1"use client"
2
3import * as React from "react"
4import { Combobox as ComboboxPrimitive } from "@base-ui/react"
5import { CheckIcon, ChevronDownIcon, XIcon } from "lucide-react"
6
7import { cn } from "@/lib/utils"
8import { Button } from "@/components/ui/button"
9import {
10 InputGroup,
11 InputGroupAddon,
12 InputGroupButton,
13 InputGroupInput,
14} from "@/components/ui/input-group"
15
16const Combobox = ComboboxPrimitive.Root
17
18function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props) {
19 return <ComboboxPrimitive.Value data-slot="combobox-value" {...props} />
20}
21
22function ComboboxTrigger({
23 className,
24 children,
25 ...props
26}: ComboboxPrimitive.Trigger.Props) {
27 return (
28 <ComboboxPrimitive.Trigger
29 data-slot="combobox-trigger"
30 className={cn("[&_svg:not([class*='size-'])]:size-4", className)}
31 {...props}
32 >
33 {children}
34 <ChevronDownIcon
35 data-slot="combobox-trigger-icon"
36 className="pointer-events-none size-4 text-muted-foreground"
37 />
38 </ComboboxPrimitive.Trigger>
39 )
40}
41
42function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {
43 return (
44 <ComboboxPrimitive.Clear
45 data-slot="combobox-clear"
46 render={<InputGroupButton variant="ghost" size="icon-xs" />}
47 className={cn(className)}
48 {...props}
49 >
50 <XIcon className="pointer-events-none" />
51 </ComboboxPrimitive.Clear>
52 )
53}
54
55function ComboboxInput({
56 className,
57 children,
58 disabled = false,
59 showTrigger = true,
60 showClear = false,
61 ...props
62}: ComboboxPrimitive.Input.Props & {
63 showTrigger?: boolean
64 showClear?: boolean
65}) {
66 return (
67 <InputGroup className={cn("w-auto", className)}>
68 <ComboboxPrimitive.Input
69 render={<InputGroupInput disabled={disabled} />}
70 {...props}
71 />
72 <InputGroupAddon align="inline-end">
73 {showTrigger && (
74 <InputGroupButton
75 size="icon-xs"
76 variant="ghost"
77 asChild
78 data-slot="input-group-button"
79 className="group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent"
80 disabled={disabled}
81 >
82 <ComboboxTrigger />
83 </InputGroupButton>
84 )}
85 {showClear && <ComboboxClear disabled={disabled} />}
86 </InputGroupAddon>
87 {children}
88 </InputGroup>
89 )
90}
91
92function ComboboxContent({
93 className,
94 side = "bottom",
95 sideOffset = 6,
96 align = "start",
97 alignOffset = 0,
98 anchor,
99 ...props
100// … truncated

What it pulls in

npm packages

  • @base-ui/react
  • lucide-react

Other registry items

  • https://ui.lscaturchio.xyz/r/button.json
  • https://ui.lscaturchio.xyz/r/input-group.json

Files it writes

  • components/ui/combobox.tsx

Facts

Registry
gr8monk3ys
Type
registry:ui
Access
Free
Files written
1
Licence
GPL-3.0
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

ui.lscaturchio.xyz gr8monk3ys/ui on GitHub Raw registry item This item as JSON

More from gr8monk3ys

All 69 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Accordionaccordiongr8monk3ysComponentsFree2 deps
ActiveNavLinkactive-nav-linkgr8monk3ysComponentsFreeno deps · 2 files
alertalertgr8monk3ysComponentsFree1 dep
alert-dialogalert-dialoggr8monk3ysComponentsFree1 dep
aspect-ratioaspect-ratiogr8monk3ysComponentsFree1 dep
attachmentattachmentgr8monk3ysComponentsFree2 deps
Avataravatargr8monk3ysComponentsFree1 dep
Badgebadgegr8monk3ysComponentsFree1 dep

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

ToolDrift

What the AI coding tools changed last night

tooldrift.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 ToolDrift

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 ToolDrift

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 ToolDrift

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