Search components

Find a component by name

Select

Select dropdown (Radix) with sizes xs-lg.

Align Item With Trigger

Use the position prop on SelectContent to control alignment. With position="item-aligned" (the default), the popup places the selected item over the trigger; with position="popper", it aligns to the trigger's edge.

Toggle to align the item with the trigger.

Groups

Use SelectGroup, SelectLabel and SelectSeparator to organize items.

Scrollable

A select with many items scrolls inside its own list, with scroll buttons at the edges.

Disabled

Add disabled to Select to disable the whole control, or to a SelectItem to disable one option.

Invalid

Add data-invalid to the Field and aria-invalid to the SelectTrigger to show an error state, with a FieldError for the message.

Variations

Basic
With Icons
With Groups & Labels
Large List
Sizes
Subscription Plan
With Button
Popper
With Field

Choose your favorite fruit from the list.

Invalid
Inline with Input & NativeSelect
Disabled
In Dialog

Installation

npx shadcn@latest add @refer/select

Usage in the apps

Which apps install this component, whether their copy matches the registry, and which files import it.

PortalIn sync16 files
ArgusDiverged14 files
LandingDiverged2 files
PartnersDiverged3 files

Imported by 35 files across the apps. From olympus-backend@2ee40d05e, Oct 26, 2026. โ€œIn syncโ€ means the app's copy matches this registry; refresh with npm run usage:build.