Variable: SelectGroup
@arolariu/components / SelectGroup
Variable: SelectGroup
constSelectGroup:ForwardRefExoticComponent<Omit<SelectGroupProps,"ref"> &RefAttributes<HTMLDivElement>> =BaseSelect.Group
Defined in: components/ui/select.tsx:115
Groups related select items into a shared logical section.
Remarks
- Renders no DOM element by default beyond the underlying grouped option container
- Built on Base UI Select
- Supports composition through descendant
renderprops - Styling via CSS Modules with
--ac-*custom properties through descendant components
Example
<SelectGroup>
<SelectLabel>Team</SelectLabel>
<SelectItem value="one">One</SelectItem>
</SelectGroup>
See
// was this page useful?