shadcn.io is an independent project built on shadcn/ui
The button uses the large size and larger text, and the options do too. The choices are Low Priority, Medium Priority, High Priority, and Urgent Priority.
Use it for the main choice on a page, or anywhere a finger needs a bigger target. A dense toolbar wants the small Combobox instead. In React, Base UI does not change what a pick does at this size.
Installation
Anatomy

Usage
<Combobox items={priorities}>
<ComboboxTrigger
render={
<Button
className="w-[280px] justify-between text-base"
size="lg"
variant="outline"
/>
}
>
<ComboboxValue placeholder="Select priority level..." />
</ComboboxTrigger>
<ComboboxContent>
<ComboboxInput placeholder="Search priority..." showTrigger={false} />
<ComboboxEmpty>No priority found.</ComboboxEmpty>
<ComboboxList>
{(item: Priority) => (
<ComboboxItem className="text-base" key={item.value} value={item}>
{item.label}
</ComboboxItem>
)}
</ComboboxList>
</ComboboxContent>
</Combobox>FAQ
What makes the button large?
size="lg" on the outline button, with text-base and a fixed w-[280px].
They're props of the Button the trigger renders.
What are the options?
Low Priority, Medium Priority, High Priority and Urgent Priority. The search box says Search priority..., and No priority found. shows when nothing matches.
API Reference
Combobox
Sets items={priorities}, placeholder="Select priority level...", placeholder="Search priority...", showTrigger={false} and value={item}. The rest is on the Combobox page.
Button
Sets size="lg" and variant="outline". The rest is on the Button page.




