Variable: SelectValue
@arolariu/components / SelectValue
Variable: SelectValue
constSelectValue:ForwardRefExoticComponent<Omit<SelectValueProps,"ref"> &RefAttributes<HTMLSpanElement>> =BaseSelect.Value
Defined in: components/ui/select.tsx:133
Displays the currently selected option inside the trigger.
Remarks
- Renders no DOM element by default beyond the underlying value slot
- Built on Base UI Select
- Supports composition through surrounding select trigger rendering
- Styling via CSS Modules with
--ac-*custom properties through descendant components
Example
<SelectValue placeholder="Select an option" />
See
// was this page useful?