Back to Components

Select Component

Basic Select

Select

Selected Value

With Pre-selected Value

Custom Option Rendering

Multi-Select

Multi-Select

Selected Values

Multi-Select with Custom Items

Dropdown stays open for multiple selections

API Integration Example

No data

Disabled State

Features

Key Features:

  • Keyboard Navigation: Arrow keys navigate, Space toggles selection, Enter submits form, Escape closes
  • Multi-Select Support: Select multiple options with highlighting (dropdown stays open)
  • Custom Rendering: Use snippets to customize how options are displayed
  • Auto-scroll: Selected option automatically scrolls into view
  • Global Management: Only one dropdown can be open at a time
  • Accessible: Proper ARIA attributes and keyboard support
  • Custom Scrollbar: Styled scrollbar for consistent appearance
  • Disabled State: Properly handles disabled state with cursor and interaction changes