Skip to main content

Overview

The Dropdown component is built from composable pieces:
  • Dropdown.Root manages open state, selection, and keyboard interaction.
  • Dropdown.Select renders the trigger button with label, helper text, and icons.
  • Dropdown.Popover and Dropdown.Menu display the list of options with proper focus management.
  • Dropdown.Section groups options and can render checkbox-style multi selection.
  • Dropdown.Item registers an option and handles selection feedback.
Combine these primitives to build controlled or uncontrolled dropdowns with single or multiple selection.

Basic Usage

Single Selection

Multiple Selection

Use Dropdown.Root with multiple and render a Dropdown.Section with variant="checkbox" to display checkbox affordances. The trigger automatically shows the number of selected items, so render a summary elsewhere if you need labels.

With Groups

Render multiple Dropdown.Section blocks to visually separate categories. Add custom headings within a section as needed.

Props

Examples

Multi-Select with Custom Display