Select
The Select is a button that opens a dropdown menu, allowing the user to select one option from a list.
Imports
`Root` - The root of the component, what wraps everything.
`Trigger` - The trigger that opens the select.
`Content` - The content, the generic popover base.
`Item` - An item in the select.
Installation
npx neel-ui add select
Example
API Reference
Props of the `Select` component. `*` denotes the default value. As it is an extension of the `Popover` component, it also inherits the props of the `Popover` component.
Attribute
Type
Description
Parent
selected
`string`
The selected value of the select.
`Content`
placement
What side the content should open on, defaults to `bottom`.
`Content`