Controls

Select

Pick one option from a menu that scales in from its trigger.

npx shadcn-svelte@latest add http://localhost:5173/r/select.json

Basic

The menu is a translucent material that scales in from the trigger (200ms) and out faster (150ms). Highlight follows the pointer and keys instantly.

light
dark

Groups, icons and scrolling

Long lists scroll inside the menu; groups get small headings.

light
dark

Sizes and states

Same heights as Input and Button, so they line up. Focus and invalid use the field halo; it stays on while the menu is open.

light
Small
Default
Large
Focus
Invalid
Disabled
dark
Small
Default
Large
Focus
Invalid
Disabled

In a Field

light
dark