Search
Search for a page

Select

A premium option picker combining bits-ui accessibility standards with custom glassmorphic trigger buttons and slide-out dropdown menus.

bunx shadcn-svelte@latest add https://ui.grgurevic.click/r/select.json

Usage

An option selection popup listing ice cream flavors.

Selected flavor: vanilla

Best practices

The best practices when using select controls.

  • Add descriptive placeholders when no value is chosen.
  • Limit the number of dropdown options to prevent vertical viewport overflow. For large option sets, prefer a logoSheet with a searchable list.
  • Use clear, descriptive labels for each option instead of short abbreviations.
  • For simple binary choices, consider a logoSwitch or logoButton Group as a more compact alternative.

Components & Props

Select sub-components and customization parameters.

Component / PropType / RoleDefaultDescription
Select.RootContext coordinator-The master coordinator. Connects option items, active triggers, and keyboard focus states.
Select.TriggerTactile button trigger-The tactile button displaying the selected option label that slides out the item picker list on clicking.
Select.ContentPopover container-The floating glass card enclosing option items, styled with backdrop filters and shadows.
Select.ItemOption element-Clickable option element. Automatically appends trailing checkmarks when selected.
valuestring""Two-way bindable selected value.
liquidGlassbooleanfalseEnables physical liquid glass refraction distortion (Chromium only).
Previous Navigation Stack
Give feedback
Next Sheet