@fayegram-ai/faye-ui/controls/select
Public exports and dependency-resolved component properties, with usage and rendering guidance.
Import
import { SelectField, Select } from '@fayegram-ai/faye-ui/controls/select';Usage and behavior guide · API JSON
This entry declares a client boundary. Follow the rendering guide for framework integration.
Public exports
| Name | Kind | Resolved declaration type |
|---|---|---|
SelectField | value | ({ items, value, defaultValue, onValueChange, name, form, required, disabled, invalid, placeholder, nativeOnMobile, native, size, variant, tone, ref, ...props }: SelectFieldProps) => import("react").JSX.Element |
Select | value | { readonly Root: typeof Base.Root; readonly List: { (input: Omit<import("@base-ui/react").SelectListProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & { variants?: { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined; }): import("react").ReactElement; displayName: string; }; readonly Trigger: { (input: Omit<import("@base-ui/react").SelectTriggerProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & { variants?: { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined; })… (full type in API JSON) |
SelectFieldItem | type | SelectFieldItem |
SelectFieldProps | type | SelectFieldProps |
SelectField
String-valued convenience control; compound Select remains available for richer collections.
Dependency-resolved declaration properties. Common React/native HTML attributes are omitted from the table; use the full declaration and React/native references. Generic and union restrictions remain authoritative in TypeScript.
Properties
| Property | Required | Type | Meaning |
|---|---|---|---|
defaultValue | No | string | null | undefined | See the usage contract and declaration. |
disabled | No | boolean | undefined | See the usage contract and declaration. |
form | No | string | undefined | See the usage contract and declaration. |
invalid | No | boolean | undefined | See the usage contract and declaration. |
items | Yes | readonly SelectFieldItem[] | See the usage contract and declaration. |
name | No | string | undefined | See the usage contract and declaration. |
native | No | boolean | undefined | Explicit native picker on every device. |
nativeOnMobile | No | boolean | undefined | Use the operating system picker when the primary pointer is coarse. |
onValueChange | No | ((value: string | null) => void) | undefined | See the usage contract and declaration. |
placeholder | No | string | undefined | See the usage contract and declaration. |
ref | No | Ref<HTMLButtonElement | HTMLSelectElement> | undefined | See the usage contract and declaration. |
required | No | boolean | undefined | See the usage contract and declaration. |
size | No | VisualVariant<"select", "size"> | undefined | See the usage contract and declaration. |
tone | No | VisualVariant<"select", "tone"> | undefined | See the usage contract and declaration. |
value | No | string | null | undefined | See the usage contract and declaration. |
variant | No | VisualVariant<"select", "variant"> | undefined | See the usage contract and declaration. |
Select
Public component; use the linked family guide for complete composition and behavior.
Dependency-resolved declaration properties. Common React/native HTML attributes are omitted from the table; use the full declaration and React/native references. Generic and union restrictions remain authoritative in TypeScript.
Select.Root
| Property | Required | Type | Meaning |
|---|---|---|---|
actionsRef | No | React.RefObject<SelectRootActions | null> | undefined | A ref to imperative actions. - unmount: Manually unmounts the select. Call this after any externally controlled closing animation finishes. |
autoComplete | No | string | undefined | Provides a hint to the browser for autofill. |
children | No | React.ReactNode | See the usage contract and declaration. |
defaultOpen | No | boolean | undefined | Whether the select popup is initially open. To render a controlled select popup, use the open prop instead. |
defaultValue | No | SelectValueType<Value, Multiple> | null | undefined | The uncontrolled value of the select when it's initially rendered. To render a controlled select, use the value prop instead. |
disabled | No | boolean | undefined | Whether the component should ignore user interaction. |
form | No | string | undefined | Identifies the form that owns the hidden input. Useful when the select is rendered outside the form. |
highlightItemOnHover | No | boolean | undefined | Whether moving the pointer over items should highlight them. Disabling this prop allows CSS :hover to be differentiated from the :focus (data-highlighted) state. |
id | No | string | undefined | The id of the Select. |
inputRef | No | React.Ref<HTMLInputElement> | undefined | A ref to access the hidden input element. |
isItemEqualToValue | No | ((itemValue: Value, value: Value) => boolean) | undefined | Custom comparison logic used to determine if a select item value matches the current selected value. Useful when item values are objects without matching referentially. Defaults to Object.is comparison. |
items | No | readonly Group<any>[] | Record<string, React.ReactNode> | readonly { label: React.ReactNode; value: any; }[] | undefined | Data structure of the items rendered in the select popup. When specified, <Select.Value> renders the label of the selected item instead of the raw value. |
itemToStringLabel | No | ((itemValue: Value) => string) | undefined | When the item values are objects (<Select.Item value={object}>), this function converts the object value to a string representation for display in the trigger. If the shape of the object is { value, label }, the label will be used automatically without needing to specify this prop. |
itemToStringValue | No | ((itemValue: Value) => string) | undefined | When the item values are objects (<Select.Item value={object}>), this function converts the object value to a string representation for form submission. If the shape of the object is { value, label }, the value will be used automatically without needing to specify this prop. |
modal | No | boolean | undefined | Determines if the select enters a modal state when open. - true: user interaction is limited to the select: document page scroll is locked and pointer interactions on outside elements are disabled. - false: user interaction with the rest of the document is allowed. On touch devices, a true modal blocks outside taps but leaves the page scrollable unless the popup spans nearly the full viewport width, matching native iOS behavior. |
multiple | No | Multiple | undefined | Whether multiple items can be selected. |
name | No | string | undefined | Identifies the field when a form is submitted. |
onOpenChange | No | ((open: boolean, eventDetails: SelectRootChangeEventDetails) => void) | undefined | Event handler called when the select popup is opened or closed. |
onOpenChangeComplete | No | ((open: boolean) => void) | undefined | Event handler called after any animations complete when the select popup is opened or closed. |
onValueChange | No | ((value: SelectValueType<Value, Multiple> | (Multiple extends true ? never : null), eventDetails: SelectRootChangeEventDetails) => void) | undefined | Event handler called when the value of the select changes. |
open | No | boolean | undefined | Whether the select popup is currently open. |
readOnly | No | boolean | undefined | Whether the user should be unable to choose a different option from the select popup. |
required | No | boolean | undefined | Whether the user must choose a value before submitting a form. |
value | No | SelectValueType<Value, Multiple> | null | undefined | The value of the select. Use when controlled. |
Select.List
| Property | Required | Type | Meaning |
|---|---|---|---|
className | No | string | ((state: SelectListState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectListState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectListState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.Trigger
| Property | Required | Type | Meaning |
|---|---|---|---|
children | No | ReactNode | See the usage contract and declaration. |
className | No | string | ((state: SelectTriggerState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
disabled | No | boolean | undefined | Whether the component should ignore user interaction. |
nativeButton | No | boolean | undefined | Whether the component renders a native <button> element when replacing it via the render prop. Set to false if the rendered element is not a button (for example, <div>). |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectTriggerState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectTriggerState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.Value
| Property | Required | Type | Meaning |
|---|---|---|---|
children | No | ReactNode | ((value: any) => React.ReactNode) | Accepts a function that returns a ReactNode to format the selected value. Treat the value as read-only: in multiple mode it may be a shared frozen array when nothing is selected. |
className | No | string | ((state: SelectValueState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
placeholder | No | ReactNode | The placeholder value to display when no value is selected. This is overridden by children if specified, or by a null item's label in items. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectValueState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectValueState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.Icon
| Property | Required | Type | Meaning |
|---|---|---|---|
className | No | string | ((state: SelectIconState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectIconState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectIconState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.Positioner
| Property | Required | Type | Meaning |
|---|---|---|---|
align | No | Align | undefined | How to align the popup relative to the specified side. |
alignItemWithTrigger | No | boolean | undefined | Whether the positioner overlaps the trigger so the selected item's text is aligned with the trigger's value text. This only applies to mouse input and is automatically disabled if there is not enough space. |
alignOffset | No | number | OffsetFunction | undefined | Additional offset along the alignment axis in pixels. Also accepts a function that returns the offset to read the dimensions of the anchor and positioner elements, along with its side and alignment. The function takes a data object parameter with the following properties: - data.anchor: the dimensions of the anchor element with properties width and height. - data.positioner: the dimensions of the positioner element with properties width and height. - data.side: which side of the anchor element the positioner is aligned against. - data.align: how the positioner is aligned relative to the specified side. |
anchor | No | Element | VirtualElement | RefObject<Element | null> | (() => Element | VirtualElement | null) | null | undefined | An element to position the popup against. By default, the popup will be positioned against the trigger. |
arrowPadding | No | number | undefined | Minimum distance to maintain between the arrow and the edges of the popup. Use it to prevent the arrow element from hanging out of the rounded corners of a popup. |
className | No | string | ((state: SelectPositionerState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
collisionAvoidance | No | CollisionAvoidance | undefined | Determines how to handle collisions when positioning the popup. side controls overflow on the preferred placement axis (top/bottom or left/right): - 'flip': keep the requested side when it fits; otherwise try the opposite side (top and bottom, or left and right). - 'shift': never change side; keep the requested side and move the popup within the clipping boundary so it stays visible. - 'none': do not correct side-axis overflow. align controls overflow on the alignment axis (start/center/end): - 'flip': keep side, but swap start and end when the requested alignment overflows. - 'shift': keep side and requested alignment, then nudge the popup along the alignment axis to fit. - 'none': do not correct alignment-axis overflow. fallbackAxisSide controls fallback behavior on the perpendicular axis when the preferred axis cannot fit: - 'start': allow perpendicular fallback and try the logical start side first (top before bottom, or left before right in LTR). - 'end': allow perpendicular fallback and try the logical end side first (bottom before top, or right before left in LTR). - 'none': do not fallback to the perpendicular axis. When side is 'shift', explicitly setting align only supports 'shift' or 'none'. If align is omitted, it defaults to 'flip'. |
collisionBoundary | No | Boundary | undefined | An element or a rectangle that delimits the area that the popup is confined to. |
collisionPadding | No | Padding | undefined | Additional space to maintain from the edge of the collision boundary. |
disableAnchorTracking | No | boolean | undefined | Whether to disable the popup from tracking any layout shift of its positioning anchor. |
positionMethod | No | "absolute" | "fixed" | undefined | Determines which CSS position property to use. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectPositionerState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
side | No | Side | undefined | Which side of the anchor element to align the popup against. May automatically change to avoid collisions. |
sideOffset | No | number | OffsetFunction | undefined | Distance between the anchor and the popup in pixels. Also accepts a function that returns the distance to read the dimensions of the anchor and positioner elements, along with its side and alignment. The function takes a data object parameter with the following properties: - data.anchor: the dimensions of the anchor element with properties width and height. - data.positioner: the dimensions of the positioner element with properties width and height. - data.side: which side of the anchor element the positioner is aligned against. - data.align: how the positioner is aligned relative to the specified side. |
sticky | No | boolean | undefined | Whether to maintain the popup in the viewport after the anchor element was scrolled out of view. |
style | No | CSSProperties | ((state: SelectPositionerState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.Popup
| Property | Required | Type | Meaning |
|---|---|---|---|
children | No | ReactNode | See the usage contract and declaration. |
className | No | string | ((state: SelectPopupState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
finalFocus | No | boolean | RefObject<HTMLElement | null> | ((closeType: InteractionType) => boolean | HTMLElement | null | void) | undefined | Determines the element to focus when the select popup is closed. - false: Do not move focus. - true: Move focus based on the default behavior (trigger or previously focused element). - RefObject: Move focus to the ref element. - function: Called with the interaction type (mouse, touch, pen, or keyboard). Return an element to focus, true to use the default behavior, or false/undefined to do nothing. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectPopupState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectPopupState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.Item
| Property | Required | Type | Meaning |
|---|---|---|---|
children | No | ReactNode | See the usage contract and declaration. |
className | No | string | ((state: SelectItemState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
disabled | No | boolean | undefined | Whether the component should ignore user interaction. |
label | No | string | undefined | Specifies the text label to use when the item is matched during keyboard text navigation. Defaults to the item text content if not provided. |
nativeButton | No | boolean | undefined | Whether the component renders a native <button> element when replacing it via the render prop. Set to true if the rendered element is a native button. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectItemState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectItemState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
value | No | any | A unique value that identifies this select item. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.ItemText
| Property | Required | Type | Meaning |
|---|---|---|---|
className | No | string | ((state: SelectItemTextState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectItemTextState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectItemTextState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.ItemIndicator
| Property | Required | Type | Meaning |
|---|---|---|---|
children | No | ReactNode | See the usage contract and declaration. |
className | No | string | ((state: SelectItemIndicatorState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
keepMounted | No | boolean | undefined | Whether to keep the HTML element in the DOM when the item is not selected. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectItemIndicatorState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectItemIndicatorState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.Group
| Property | Required | Type | Meaning |
|---|---|---|---|
className | No | string | ((state: SelectGroupState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectGroupState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectGroupState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.GroupLabel
| Property | Required | Type | Meaning |
|---|---|---|---|
className | No | string | ((state: SelectGroupLabelState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectGroupLabelState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectGroupLabelState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.ScrollUpArrow
| Property | Required | Type | Meaning |
|---|---|---|---|
className | No | string | ((state: SelectScrollDownArrowState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
keepMounted | No | boolean | undefined | Whether to keep the HTML element in the DOM while the select popup is not scrollable. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectScrollDownArrowState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectScrollDownArrowState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.ScrollDownArrow
| Property | Required | Type | Meaning |
|---|---|---|---|
className | No | string | ((state: SelectScrollDownArrowState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
keepMounted | No | boolean | undefined | Whether to keep the HTML element in the DOM while the select popup is not scrollable. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectScrollDownArrowState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectScrollDownArrowState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
variants | No | { readonly variant?: VisualVariant<"select", "variant"> | undefined; readonly size?: VisualVariant<"select", "size"> | undefined; readonly tone?: VisualVariant<"select", "tone"> | undefined; } | undefined | See the usage contract and declaration. |
Select.Portal
| Property | Required | Type | Meaning |
|---|---|---|---|
className | No | string | ((state: SelectPortalState) => string | undefined) | undefined | CSS class applied to the element, or a function that returns a class based on the component's state. |
container | No | HTMLElement | ShadowRoot | RefObject<HTMLElement | ShadowRoot | null> | null | undefined | A parent element to render the portal element into. |
render | No | ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectPortalState> | undefined | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. |
style | No | CSSProperties | ((state: SelectPortalState) => React.CSSProperties | undefined) | undefined | Style applied to the element, or a function that returns a style object based on the component's state. |
Defaults and customization
Descriptor defaults: {"size":"md","tone":"neutral","variant":"outline"}. Parts: trigger, value, icon, positioner, popup, item, item-text, item-indicator, group, group-label, scroll-up-arrow, scroll-down-arrow. Explicit instance props take precedence over configured defaults.
Use semantic tokens, public part hooks and customization sheets. Keep visual configuration separate from application state.
State, events and accessibility
For interactive controls, pair a controlled value/open prop with its corresponding change callback; default props initialize uncontrolled state. Keep application validation and submission policy explicit. Name controls with visible labels, name icon-only actions on the button, and preserve focus and dismissal behavior when replacing parts. Use native form names and submit/reset types where supported. See the usage guide for component-specific behavior and live examples.
Declaration authority
Generated from packages/faye-ui/dist/controls/select.d.ts after the semantic package build. Common native/React attributes are intentionally omitted from property tables. Generic overloads, discriminated unions and complete inherited attributes remain authoritative in installed TypeScript declarations. React DOM attributes and Base UI component contracts describe the inherited foundations.