BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui/combobox

combobox

draco-china-github/combobox
FreeComponent

shadcn/ui publishes no description for this item.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/draco-china/shadcn-pro/main/apps/docs/public/r/styles/radix-sera/combobox.json

Source

registry/radix-sera/ui/combobox.tsxraw.githubusercontent.com/draco-china/shadcn-pro/main/apps/docs/public/r/styles/radix-sera/combobox.json · first 6 KB
1"use client"
2
3import * as React from "react"
4import { Combobox as ComboboxPrimitive } from "@base-ui/react"
5
6import { cn } from "@/registry/radix-sera/lib/utils"
7import { Button } from "@/registry/radix-sera/ui/button"
8import {
9 InputGroup,
10 InputGroupAddon,
11 InputGroupButton,
12 InputGroupInput,
13} from "@/registry/radix-sera/ui/input-group"
14import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
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-3.5", className)}
31 {...props}
32 >
33 {children}
34 <IconPlaceholder
35 lucide="ChevronDownIcon"
36 tabler="IconChevronDown"
37 hugeicons="ArrowDown01Icon"
38 phosphor="CaretDownIcon"
39 remixicon="RiArrowDownSLine"
40 className="pointer-events-none size-3.5 text-muted-foreground"
41 />
42 </ComboboxPrimitive.Trigger>
43 )
44}
45
46function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {
47 return (
48 <ComboboxPrimitive.Clear
49 data-slot="combobox-clear"
50 render={<InputGroupButton variant="ghost" size="icon-xs" />}
51 className={cn(className)}
52 {...props}
53 >
54 <IconPlaceholder
55 lucide="XIcon"
56 tabler="IconX"
57 hugeicons="Cancel01Icon"
58 phosphor="XIcon"
59 remixicon="RiCloseLine"
60 className="pointer-events-none"
61 />
62 </ComboboxPrimitive.Clear>
63 )
64}
65
66function ComboboxInput({
67 className,
68 children,
69 disabled = false,
70 showTrigger = true,
71 showClear = false,
72 ...props
73}: ComboboxPrimitive.Input.Props & {
74 showTrigger?: boolean
75 showClear?: boolean
76}) {
77 return (
78 <InputGroup className={cn("w-auto", className)}>
79 <ComboboxPrimitive.Input
80 render={<InputGroupInput disabled={disabled} />}
81 {...props}
82 />
83 <InputGroupAddon align="inline-end">
84 {showTrigger && (
85 <InputGroupButton
86 size="icon-xs"
87 variant="ghost"
88 asChild
89 data-slot="input-group-button"
90 className="group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent"
91 disabled={disabled}
92// … truncated

What it pulls in

npm packages

  • @base-ui/react

Other registry items

  • button
  • input-group

Files it writes

  • registry/radix-sera/ui/combobox.tsx

Facts

Registry
shadcn/ui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-10
Last confirmed
today

Go to the source

draco-china.github.io draco-china/shadcn-pro on GitHub Raw registry item This item as JSON

More from shadcn/ui

All 201 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionshadcn/uiComponentsFreeno deps
alertalertshadcn/uiComponentsFreeno deps
alert-dialogalert-dialogshadcn/uiComponentsFreeno deps
aspect-ratioaspect-ratioshadcn/uiComponentsFreeno deps
avataravatarshadcn/uiComponentsFreeno deps
badgebadgeshadcn/uiComponentsFreeno deps
breadcrumbbreadcrumbshadcn/uiComponentsFreeno deps
buttonbuttonshadcn/uiComponentsFreeno deps

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