select-kit
- A headless library for building WAI-ARIA compliant navigation/command/select menus
- Provides composable components that can be styled as needed
- Designed for Svelte applications
- Key components include:
Select.Root
(main container)Select.Input
(search input)Select.ListBox
(items container)Select.Item
(selectable options)Select.Button
(toggle button)
- Features:
- Built-in filtering (can be disabled)
- Custom event handling
- Accessibility compliant
- Planned improvements:
- Multiselect support
- Typeahead functionality
- Better sorting
- Includes examples for common patterns like:
- Basic select menus
- Custom filtering
- Dropdown buttons
- Uses @smui/common for event handling with Svelte-like syntax
cmdkcomboboxselectsveltesveltejscommand-menu
Author
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button