Examples
Default
Filled (Table Tab Actions)
Without Label
All Sizes
Full Width
Props
Select
A select field with optional label, helper/error text, and an icon slot, built on Radix UI Select for full accessibility and keyboard navigation. Pair withSelectContent and SelectItem to provide options.
SelectContent
The dropdown panel rendered inside a portal. PlaceSelectItem elements (and optionally SelectGroup / SelectLabel) as children.
SelectGroup
Groups relatedSelectItem elements under a SelectLabel.
SelectItem
An individual option insideSelectContent, following the V2 Menu Item spec.
Supports a leading icon or avatar, an optional two-line layout via description, and the standard hover / selected / disabled states. The selected row rests on Buttons/Navigation/Hover with a semibold label and a trailing check; hovering it shows Interaction/Hover like any other row. Under the v2 palette the fill is inverted, with inverted content, and a highlighted selected row moves to Menu Item Selected Hover. Under the v2 palette the list opens with the selected row on its own fill: the hover fill waits until the person moves the pointer or presses a key. Rows do not shrink, so a two-line row stays whole when the list scrolls.
Leading avatar rendered in place of
SelectItemProps.leadingIcon, for rows representing a person or account. Pass an Avatar sized to 24. Takes precedence over leadingIcon.Icon (or other node) rendered before the label. Ignored when
SelectItemProps.avatar is set. Treated like DropdownMenuItem’s icons: a 16px box in Icons/Secondary, prop-based icons filled at 16px unless they set filled or size themselves.SelectLabel
A non-interactive label shown above aSelectGroup.
SelectSeparator
A horizontal rule that visually separates groups inSelectContent.
Exported types
Also exported from@fanvue/ui: SelectContentProps, SelectGroupProps, SelectItemProps, SelectItemSize, SelectLabelProps, SelectProps, SelectSeparatorProps, SelectSize.
Setup: Installation · Theming