Select
A select that opens over its trigger, with the picked option on the value, and unfolds out of the trigger's own outline.
npx shadcn add https://kinoui.com/r/select.jsonCopy install command
Examples
Default
It opens over its trigger with the picked option on the value, and unfolds out of the trigger’s outline.
Groups
Group options under a label; a long list scrolls.
Multiple
With multiple, it stays open while you pick, and SelectValue takes a function for what the trigger shows.
Under the trigger
Set alignItemWithTrigger to false to open it under the trigger, where it grows as a Popover does.
New issues go to this team.
In a form
A label names it, name sends its value with the form, and a disabled option can’t be picked.
Installation
Copy code
npx shadcn@latest add https://kinoui.com/r/select.json- Files
lib/reduce-motion.tslib/scroll.tslib/refs.tslib/resize.tslib/swap.tsxlib/popup.tslib/glide.tsxcomponents/kino/tooltip.tsxlib/cut.tsxcomponents/kino/separator.tsxlib/run-progress.tslib/highlight.tslib/menu.tsxcomponents/kino/input.tsxcomponents/kino/select.tsx- Packages
@base-ui/reactclass-variance-authority- Global CSS
- the feels, the density tokens, the shape tokens and the success and warning colours
New to Kino? Installation covers what your project needs first and the @kino namespace.
API reference
Select
SelectTrigger
SelectContent
Accessibility
- The trigger is a combobox and the list a listbox: arrow keys move through the options, Enter or Space picks one, and Escape closes it.
- Typing a letter jumps to the next option that starts with it, open or closed.
- Name it with a
<label>and the trigger’sid, or witharia-label. - The picked option has a tick as well as a highlight, so its state never relies on colour.
- When the system asks for less motion, it only fades.