Skip to Content

select

ui

Displays a list of options for the user to pick from, triggered by a button.

Use cases

  • Dropdown selections
  • Form select fields
  • Filter controls
  • Grouped option lists

Features

  • Grouped items with labels
  • Keyboard navigation
  • Portal rendering for proper layering
  • Placeholder support

Preview

Interactive preview with light/dark mode toggle. Switch to Code tab to view the full source.

Installation

npx shadcn@latest add https://registry.mukoko.com/api/v1/ui/select

Dependencies

radix-uilucide-react

API

Fetch this component's metadata and source code from the registry API.

GET/api/v1/ui/select

Source

components/ui/select.tsx