Design system
Docs
Headless

Autocomplete

An input that suggests options as you type.

In Nyte

Import
import { Autocomplete } from "@nyte-ai/ui/autocomplete";

@nyte-ai/ui/autocomplete re-exports the Base UI namespace unchanged. There is no Nyte styling on this subpath; the consumer owns every class, StyleX style, and layout decision. Base UI owns the interaction model, keyboard handling, focus management, and ARIA below.

Consumed by:

  • desktop/src/renderer/src/chrome/font-family-select.tsx
  • desktop/src/renderer/src/conversation/model-picker.tsx

The rest of this page is Base UI's documentation for @base-ui/react/autocomplete, reproduced verbatim under the MIT license, © Material-UI SAS. Component paths in examples refer to the Base UI package; in Nyte, import from the subpath above.

Usage guidelines

  • Avoid when selection state is needed: Use Combobox instead of Autocomplete if the selection should be remembered and the input value cannot be custom. Unlike Combobox, Autocomplete's input can contain free-form text, as its suggestions only optionally autocomplete the text.
  • Can be used for filterable command pickers: The input can be used as a filter for command items that perform an action when clicked when rendered inside the popup.
  • Form controls must have an accessible name: It can be created using a <label> element or the Field component. See the forms guide.

Anatomy

Import the components and place them together:

Anatomy
import { Autocomplete } from '@base-ui/react/autocomplete';

<Autocomplete.Root>
  <Autocomplete.InputGroup>
    <Autocomplete.Input />
    <Autocomplete.Trigger />
    <Autocomplete.Icon />
    <Autocomplete.Clear />
    <Autocomplete.Value />
  </Autocomplete.InputGroup>

  <Autocomplete.Portal>
    <Autocomplete.Backdrop />
    <Autocomplete.Positioner>
      <Autocomplete.Popup>
        <Autocomplete.Arrow />

        <Autocomplete.Status />
        <Autocomplete.Empty />

        <Autocomplete.List>
          <Autocomplete.Row>
            <Autocomplete.Item />
          </Autocomplete.Row>

          <Autocomplete.Separator />

          <Autocomplete.Group>
            <Autocomplete.GroupLabel />
          </Autocomplete.Group>

          <Autocomplete.Collection />
        </Autocomplete.List>
      </Autocomplete.Popup>
    </Autocomplete.Positioner>
  </Autocomplete.Portal>
</Autocomplete.Root>;

Item values

Each <Autocomplete.Item> takes a value prop identifying it. Pass the item being rendered, so that props like itemToStringValue receive it.

Examples

Load items asynchronously while typing and render custom status content.

Inline autocomplete

Autofill the input with the highlighted item while navigating with arrow keys using the mode prop. Accepts aria-autocomplete values list, both, inline, or none.

Grouped

Organize related options with <Autocomplete.Group> and <Autocomplete.GroupLabel> to add section headings inside the popup.

Groups are represented by an array of objects with an items property, which itself is an array of individual items for each group. An extra property, such as value, can be provided for the heading text when rendering the group label.

Example
interface ProduceGroupItem {
  value: string;
  // @highlight
  items: string[];
}

const groups: ProduceGroupItem[] = [
  {
    value: 'Fruits',
    // @highlight
    items: ['Apple', 'Banana', 'Orange'],
  },
  {
    value: 'Vegetables',
    // @highlight
    items: ['Carrot', 'Lettuce', 'Spinach'],
  },
];

Fuzzy matching

Use fuzzy matching to find relevant results even when the query doesn't exactly match the item text.

Limit results

Limit the number of visible items using the limit prop and guide users to refine their query using <Autocomplete.Status>.

Auto highlight

The first matching item can be automatically highlighted as the user types by specifying the autoHighlight prop on <Autocomplete.Root>. Set the prop's value to "always" if the highlight should always be present, such as when the list is rendered inline within a dialog.

The prop can be combined with the keepHighlight and highlightItemOnHover props to configure how the highlight behaves during mouse interactions.

Command palette

Use the autocomplete input to filter a list of command items that perform an action when clicked.

Grid layout

Display items in a grid layout, wrapping each row in <Autocomplete.Row> components.

Virtualized

Efficiently handle large datasets using a virtualization library like @tanstack/react-virtual.

Memoizing items

Memoizing each item is a simpler alternative to virtualization for datasets up to roughly 1,000 items. Wrap each item in React.memo and pass the item as a prop so unchanged items skip re-rendering. While memoization speeds up typing, it does not speed up opening; with a large enough number of items, the mount cost dominates, and virtualization becomes necessary to keep the open interaction fast on low-end devices.

Memoizing list items
interface Suggestion {
  id: string;
  label: string;
  description: string;
}

const SuggestionItem = React.memo(function SuggestionItem({ item }: { item: Suggestion }) {
  return (
    <Autocomplete.Item value={item}>
      <span>{item.label}</span>
      <span>{item.description}</span>
    </Autocomplete.Item>
  );
});

<Autocomplete.List>
  {(item: Suggestion) => <SuggestionItem key={item.id} item={item} />}
</Autocomplete.List>;

API reference

Root

Groups all parts of the autocomplete. Doesn't render its own HTML element.

Root Props:

PropTypeDefaultDescription
namestring-Identifies the field when a form is submitted.
defaultValuestring | number | string[]-The uncontrolled input value of the autocomplete when it's initially rendered. To render a controlled autocomplete, use the value prop instead.
valuestring | string[] | number-The input value of the autocomplete. Use when controlled.
onValueChange((value: string, eventDetails: Autocomplete.Root.ChangeEventDetails) => void)-Event handler called when the input value of the autocomplete changes.
defaultOpenbooleanfalseWhether the popup is initially open. To render a controlled popup, use the open prop instead.
openboolean-Whether the popup is currently open. Use when controlled.
onOpenChange((open: boolean, eventDetails: Autocomplete.Root.ChangeEventDetails) => void)-Event handler called when the popup is opened or closed.
autoHighlightboolean | 'always'falseWhether the first matching item is highlighted automatically. true: highlight after the user types and keep the highlight while the query changes.'always': always highlight the first item.
keepHighlightbooleanfalseWhether the highlighted item should be preserved when the pointer leaves the list.
highlightItemOnHoverbooleantrueWhether moving the pointer over items should highlight them. Disabling this prop allows CSS :hover to be differentiated from the :focus (data-highlighted) state.
actionsRefReact.RefObject<Autocomplete.Root.Actions | null>-A ref to imperative actions. unmount: Manually unmounts the autocomplete. Call this after any externally controlled closing animation finishes.
filter((item: ItemValue, query: string, itemToString?: ((item: ItemValue) => string)) => boolean) | null-AutocompleteFilter function used to match items against the input query.
filteredItemsany[] | Group<any>[] | ItemValue[] | Group<ItemValue>[]-Filtered items to display in the list. When provided, the list uses these items instead of filtering the items prop internally. When items is also provided, this array must preserve its flat or grouped structure. Nullish entries are not supported, as in items. Use when you want to control filtering logic externally with the useFilter() hook.
formstring-Identifies the form that owns the internal input. Useful when the autocomplete is rendered outside the form.
gridbooleanfalseWhether list items are presented in a grid layout. When enabled, arrow keys navigate across rows and columns inferred from DOM rows.
inlinebooleanfalseWhether the list is rendered inline without using the component's own popup. Specify open unconditionally in conjunction with this prop so the list is considered visible: <Autocomplete.Root inline open>
itemToStringValue((itemValue: ItemValue) => string)-When the item values are objects (<Autocomplete.Item value={object}>), this function converts the object value to a string representation for both display in the input and form submission. If the shape of the object is { value, label }, the label will be used automatically without needing to specify this prop.
items({ items: any[] })[] | ItemValue[]-The items to be displayed in the list. Can be either a flat array of items or an array of groups with items. Nullish entries are not supported: remove them from the data before passing it.
limitnumber-1The maximum number of items to display in the list.
localeIntl.LocalesArgument-The locale to use for string comparison. Defaults to the user's runtime locale.
loopFocusbooleantrueWhether to loop keyboard focus back to the input when the end of the list is reached while using the arrow keys. The first item can then be reached by pressing ArrowDown again from the input, or the last item can be reached by pressing ArrowUp from the input. The input is always included in the focus loop per ARIA Authoring Practices. When disabled, focus does not move when on the last element and the user presses ArrowDown, or when on the first element and the user presses ArrowUp.
modalbooleanfalseDetermines if the popup enters a modal state when open. true: user interaction is limited to the popup: 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.
mode'list' | 'both' | 'inline' | 'none''list'Controls how the autocomplete behaves with respect to list filtering and inline autocompletion. list (default): items are dynamically filtered based on the input value. The input value does not change based on the active item.both: items are dynamically filtered based on the input value, which will temporarily change based on the active item (inline autocompletion).inline: items are static (not filtered), and the input value will temporarily change based on the active item (inline autocompletion).none: items are static (not filtered), and the input value will not change based on the active item.
onItemHighlighted((highlightedValue: ItemValue | undefined, eventDetails: Autocomplete.Root.HighlightEventDetails) => void)-Callback fired when an item is highlighted or unhighlighted. Receives the highlighted item value (or undefined if no item is highlighted) and event details with a reason property describing why the highlight changed. The reason can be: 'keyboard': the highlight changed due to keyboard navigation.'pointer': the highlight changed due to pointer hovering.'none': the highlight changed programmatically.
onOpenChangeComplete((open: boolean) => void)-Event handler called after any animations complete when the popup is opened or closed.
openOnInputClickbooleanfalseWhether the popup opens when clicking the input.
submitOnItemClickbooleanfalseWhether clicking an item should submit the autocomplete's owning form. By default, clicking an item via a pointer or Enter key does not submit the owning form. Useful when the autocomplete is used as a single-field form search input.
virtualizedbooleanfalseWhether the items are being externally virtualized.
disabledbooleanfalseWhether the component should ignore user interaction.
readOnlybooleanfalseWhether the user should be unable to choose a different option from the popup.
requiredbooleanfalseWhether the user must choose a value before submitting a form.
inputRefReact.Ref<HTMLInputElement>-A ref to the hidden input element.
idstring-The id of the component.
childrenReact.ReactNode--

Root.Props

Re-export of Root props.

Root.State

type AutocompleteRootState = {};

Root.Actions

type AutocompleteRootActions = { unmount: () => void };

Root.ChangeEventReason

type AutocompleteRootChangeEventReason =
  | 'trigger-press'
  | 'input-press'
  | 'outside-press'
  | 'item-press'
  | 'close-press'
  | 'escape-key'
  | 'list-navigation'
  | 'focus-out'
  | 'input-change'
  | 'input-clear'
  | 'clear-press'
  | 'chip-remove-press'
  | 'cancel-open'
  | 'none';

Root.ChangeEventDetails

type AutocompleteRootChangeEventDetails = (
  | { reason: 'trigger-press'; event: MouseEvent | PointerEvent | TouchEvent | KeyboardEvent }
  | { reason: 'input-press'; event: MouseEvent | PointerEvent | TouchEvent | KeyboardEvent }
  | { reason: 'outside-press'; event: MouseEvent | PointerEvent | TouchEvent }
  | { reason: 'item-press'; event: MouseEvent | PointerEvent | KeyboardEvent }
  | { reason: 'close-press'; event: MouseEvent | PointerEvent | KeyboardEvent }
  | { reason: 'escape-key'; event: KeyboardEvent }
  | { reason: 'list-navigation'; event: KeyboardEvent }
  | { reason: 'focus-out'; event: KeyboardEvent | FocusEvent }
  | { reason: 'input-change'; event: Event | InputEvent }
  | { reason: 'input-clear'; event: Event | FocusEvent | InputEvent }
  | { reason: 'clear-press'; event: MouseEvent | PointerEvent | KeyboardEvent }
  | { reason: 'chip-remove-press'; event: MouseEvent | PointerEvent | KeyboardEvent }
  | { reason: 'cancel-open'; event: MouseEvent }
  | { reason: 'none'; event: Event }
) & {
  /** Cancels Base UI from handling the event. */
  cancel: () => void;
  /** Allows the event to propagate in cases where Base UI will stop the propagation. */
  allowPropagation: () => void;
  /** Indicates whether the event has been canceled. */
  isCanceled: boolean;
  /** Indicates whether the event is allowed to propagate. */
  isPropagationAllowed: boolean;
  /** The element that triggered the event, if applicable. */
  trigger: Element | undefined;
};

Root.HighlightEventReason

type AutocompleteRootHighlightEventReason = 'keyboard' | 'pointer' | 'none';

Root.HighlightEventDetails

type AutocompleteRootHighlightEventDetails =
  | { reason: 'none'; event: Event; index: number }
  | { reason: 'keyboard'; event: KeyboardEvent; index: number }
  | { reason: 'pointer'; event: PointerEvent; index: number };

Trigger

A button that opens the popup. Renders a <button> element.

Trigger Props:

PropTypeDefaultDescription
nativeButtonbooleantrueWhether 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>).
disabledbooleanfalseWhether the component should ignore user interaction.
classNamestring | ((state: Autocomplete.Trigger.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Trigger.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Trigger.State) => ReactElement)-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.

Trigger Data Attributes:

AttributeTypeDescription
data-popup-open-Present when the corresponding popup is open.
data-popup-side'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start' | nullIndicates which side the corresponding popup is positioned relative to its anchor.
data-list-empty-Present when the corresponding items list is empty.
data-pressed-Present when the trigger is pressed.
data-disabled-Present when the component is disabled.
data-readonly-Present when the component is readonly.
data-required-Present when the component is required.
data-valid-Present when the component is in a valid state (when wrapped in Field.Root).
data-invalid-Present when the component is in an invalid state (when wrapped in Field.Root).
data-dirty-Present when the component's value has changed (when wrapped in Field.Root).
data-touched-Present when the component has been touched (when wrapped in Field.Root).
data-filled-Present when the component has a value (when wrapped in Field.Root).
data-focused-Present when the trigger is focused (when wrapped in Field.Root).

Trigger.Props

Re-export of Trigger props.

Trigger.State

type AutocompleteTriggerState = {
  /** Whether the popup is open. */
  open: boolean;
  /** Whether the component should ignore user interaction. */
  disabled: boolean;
  /** Indicates which side the corresponding popup is positioned relative to its anchor. */
  popupSide: Side | null;
  /** Present when the corresponding items list is empty. */
  listEmpty: boolean;
  /** Whether the component should ignore user edits. */
  readOnly: boolean;
  /** Whether the field has been touched. */
  touched: boolean;
  /** Whether the field value has changed from its initial value. */
  dirty: boolean;
  /** Whether the field is valid. */
  valid: boolean | null;
  /** Whether the field has a value. */
  filled: boolean;
  /** Whether the field is focused. */
  focused: boolean;
};

Value

The current value of the autocomplete. Doesn't render its own HTML element.

Value Props:

PropTypeDefaultDescription
childrenReact.ReactNode | ((value: string) => React.ReactNode)--

Value.Props

Re-export of Value props.

Value.State

type AutocompleteValueState = {};

Input

A text input to search for items in the list. Renders an <input> element.

Input Props:

PropTypeDefaultDescription
disabledbooleanfalseWhether the component should ignore user interaction.
classNamestring | ((state: Autocomplete.Input.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Input.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Input.State) => ReactElement)-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.

Input Data Attributes:

AttributeTypeDescription
data-popup-open-Present when the corresponding popup is open.
data-popup-side'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start' | nullIndicates which side the corresponding popup is positioned relative to its anchor.
data-list-empty-Present when the corresponding items list is empty.
data-pressed-Present when the input is pressed.
data-disabled-Present when the component is disabled.
data-readonly-Present when the component is readonly.
data-required-Present when the component is required.
data-valid-Present when the component is in a valid state (when wrapped in Field.Root).
data-invalid-Present when the component is in an invalid state (when wrapped in Field.Root).
data-dirty-Present when the component's value has changed (when wrapped in Field.Root).
data-touched-Present when the component has been touched (when wrapped in Field.Root).
data-filled-Present when the component has a value (when wrapped in Field.Root).
data-focused-Present when the input is focused (when wrapped in Field.Root).

Input.Props

Re-export of Input props.

Input.State

type AutocompleteInputState = {
  /** Whether the corresponding popup is open. */
  open: boolean;
  /** Indicates which side the corresponding popup is positioned relative to its anchor. */
  popupSide: Side | null;
  /** Present when the corresponding items list is empty. */
  listEmpty: boolean;
  /** Whether the component should ignore user edits. */
  readOnly: boolean;
  /** Whether the component should ignore user interaction. */
  disabled: boolean;
  /** Whether the field has been touched. */
  touched: boolean;
  /** Whether the field value has changed from its initial value. */
  dirty: boolean;
  /** Whether the field is valid. */
  valid: boolean | null;
  /** Whether the field has a value. */
  filled: boolean;
  /** Whether the field is focused. */
  focused: boolean;
};

Icon

An icon that indicates that the trigger button opens the popup. Renders a <span> element.

Icon Props:

PropTypeDefaultDescription
classNamestring | ((state: Autocomplete.Icon.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Icon.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Icon.State) => ReactElement)-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.

Icon.Props

Re-export of Icon props.

Icon.State

type AutocompleteIconState = {};

Clear

Clears the value when clicked. Renders a <button> element.

Clear Props:

PropTypeDefaultDescription
nativeButtonbooleantrueWhether 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>).
disabledbooleanfalseWhether the component should ignore user interaction.
classNamestring | ((state: Autocomplete.Clear.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Clear.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
keepMountedbooleanfalseWhether the component should remain mounted in the DOM when not visible.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Clear.State) => ReactElement)-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.

Clear Data Attributes:

AttributeTypeDescription
data-popup-open-Present when the corresponding popup is open.
data-disabled-Present when the button is disabled.
data-visible-Present when the clear button is visible.
data-starting-style-Present when the button begins animating in.
data-ending-style-Present when the button is animating out.

Clear.Props

Re-export of Clear props.

Clear.State

type AutocompleteClearState = {
  /** Whether the popup is open. */
  open: boolean;
  /** Whether the component should ignore user interaction. */
  disabled: boolean;
  /** Whether the clear button should be visible. */
  visible: boolean;
  /** The transition status of the component. */
  transitionStatus: TransitionStatus;
};

List

A list container for the items. Renders a <div> element.

List Props:

PropTypeDefaultDescription
childrenReact.ReactNode | ((item: any, index: number) => React.ReactNode)--
classNamestring | ((state: Autocomplete.List.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.List.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.List.State) => ReactElement)-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.

List.Props

Re-export of List props.

List.State

type AutocompleteListState = {
  /** Whether the list is empty. */
  empty: boolean;
};

Portal

A portal element that moves the popup to a different part of the DOM. By default, the portal element is appended to <body>. Renders a <div> element.

Portal Props:

PropTypeDefaultDescription
containerHTMLElement | ShadowRoot | React.RefObject<HTMLElement | ShadowRoot | null> | null-A parent element to render the portal element into.
classNamestring | ((state: Autocomplete.Portal.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Portal.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
keepMountedbooleanfalseWhether to keep the portal mounted in the DOM while the popup is hidden.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Portal.State) => ReactElement)-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.

Portal.Props

Re-export of Portal props.

Portal.State

type AutocompletePortalState = {};

Backdrop

An overlay displayed beneath the popup. Renders a <div> element.

Backdrop Props:

PropTypeDefaultDescription
classNamestring | ((state: Autocomplete.Backdrop.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Backdrop.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Backdrop.State) => ReactElement)-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.

Backdrop Data Attributes:

AttributeTypeDescription
data-open-Present when the popup is open.
data-closed-Present when the popup is closed.
data-starting-style-Present when the popup begins animating in.
data-ending-style-Present when the popup is animating out.

Backdrop.Props

Re-export of Backdrop props.

Backdrop.State

type AutocompleteBackdropState = {
  /** Whether the popup is currently open. */
  open: boolean;
  /** The transition status of the component. */
  transitionStatus: TransitionStatus;
};

Positioner

Positions the popup against the trigger. Renders a <div> element.

Positioner Props:

PropTypeDefaultDescription
disableAnchorTrackingbooleanfalseWhether to disable the popup from tracking any layout shift of its positioning anchor.
alignAlign'center'How to align the popup relative to the specified side.
alignOffsetnumber | OffsetFunction0Additional 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.
sideSide'bottom'Which side of the anchor element to align the popup against. May automatically change to avoid collisions.
sideOffsetnumber | OffsetFunction0Distance 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.
arrowPaddingnumber5Minimum 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.
anchorElement | VirtualElement | React.RefObject<Element | null> | (() => Element | VirtualElement | null) | null-An element to position the popup against. By default, the popup will be positioned against the trigger.
collisionAvoidanceCollisionAvoidance-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'.
collisionBoundaryBoundary'clipping-ancestors'An element or a rectangle that delimits the area that the popup is confined to.
collisionPaddingPadding5Additional space to maintain from the edge of the collision boundary.
stickybooleanfalseWhether to maintain the popup in the viewport after the anchor element was scrolled out of view.
positionMethod'absolute' | 'fixed''absolute'Determines which CSS position property to use.
classNamestring | ((state: Autocomplete.Positioner.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Positioner.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Positioner.State) => ReactElement)-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.

alignOffset Prop Example:

<Positioner
  alignOffset={({ side, align, anchor, positioner }) => {
    return side === 'top' || side === 'bottom' ? anchor.width : anchor.height;
  }}
/>

sideOffset Prop Example:

<Positioner
  sideOffset={({ side, align, anchor, positioner }) => {
    return side === 'top' || side === 'bottom' ? anchor.height : anchor.width;
  }}
/>

collisionAvoidance Prop Example:

<Positioner
  collisionAvoidance={{
    side: 'shift',
    align: 'shift',
    fallbackAxisSide: 'none',
  }}
/>

Positioner Data Attributes:

AttributeTypeDescription
data-open-Present when the popup is open.
data-closed-Present when the popup is closed.
data-anchor-hidden-Present when the anchor is hidden.
data-align'start' | 'center' | 'end'Indicates how the popup is aligned relative to specified side.
data-empty-Present when the items list is empty.
data-side'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'Indicates which side the popup is positioned relative to the trigger.

Positioner CSS Variables:

VariableTypeDescription
--anchor-heightnumberThe anchor's height.
--anchor-widthnumberThe anchor's width.
--available-heightnumberThe available height between the trigger and the edge of the viewport.
--available-widthnumberThe available width between the trigger and the edge of the viewport.
--transform-originstringThe coordinates that this element is anchored to. Used for animations and transitions.

Positioner.Props

Re-export of Positioner props.

Positioner.State

type AutocompletePositionerState = {
  /** Whether the popup is currently open. */
  open: boolean;
  /** The side of the anchor the component is placed on. */
  side: Side;
  /** The alignment of the component relative to the anchor. */
  align: Align;
  /** Whether the anchor element is hidden. */
  anchorHidden: boolean;
  /** Whether there are no items to display. */
  empty: boolean;
};

A container for the list. Renders a <div> element.

Popup Props:

PropTypeDefaultDescription
initialFocusboolean | React.RefObject<HTMLElement | null> | ((openType: InteractionType) => boolean | void | HTMLElement | null)-Determines the element to focus when the popup is opened. false: Do not move focus.true: Move focus based on the default behavior (first tabbable element or popup).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.
finalFocusboolean | React.RefObject<HTMLElement | null> | ((closeType: InteractionType) => boolean | void | HTMLElement | null)-Determines the element to focus when the 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.
classNamestring | ((state: Autocomplete.Popup.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Popup.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Popup.State) => ReactElement)-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.

Popup Data Attributes:

AttributeTypeDescription
data-open-Present when the popup is open.
data-closed-Present when the popup is closed.
data-anchor-hidden-Present when the anchor is hidden.
data-align'start' | 'center' | 'end'Indicates how the popup is aligned relative to specified side.
data-empty-Present when the items list is empty.
data-side'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'Indicates which side the popup is positioned relative to the trigger.
data-starting-style-Present when the popup begins animating in.
data-ending-style-Present when the popup is animating out.

Popup.Props

Re-export of Popup props.

Popup.State

type AutocompletePopupState = {
  /** Whether the component is open. */
  open: boolean;
  /** The side of the anchor the component is placed on. */
  side: Side;
  /** The alignment of the component relative to the anchor. */
  align: Align;
  /** Whether the anchor element is hidden. */
  anchorHidden: boolean;
  /** The transition status of the component. */
  transitionStatus: TransitionStatus;
  /** Whether there are no items to display. */
  empty: boolean;
};

Arrow

Displays an element positioned against the anchor. Renders a <div> element.

Arrow Props:

PropTypeDefaultDescription
classNamestring | ((state: Autocomplete.Arrow.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Arrow.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Arrow.State) => ReactElement)-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.

Arrow Data Attributes:

AttributeTypeDescription
data-open-Present when the popup is open.
data-closed-Present when the popup is closed.
data-uncentered-Present when the arrow is uncentered.
data-align'start' | 'center' | 'end'Indicates how the popup is aligned relative to specified side.
data-side'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'Indicates which side the popup is positioned relative to the trigger.

Arrow.Props

Re-export of Arrow props.

Arrow.State

type AutocompleteArrowState = {
  /** Whether the popup is currently open. */
  open: boolean;
  /** The side of the anchor the component is placed on. */
  side: Side;
  /** The alignment of the component relative to the anchor. */
  align: Align;
  /** Whether the arrow cannot be centered on the anchor. */
  uncentered: boolean;
};

Item

An individual item in the list. Renders a <div> element.

Item Props:

PropTypeDefaultDescription
valueanynullA unique value that identifies this item.
onClick((event: BaseUIEvent<React.MouseEvent<HTMLDivElement, MouseEvent>>) => void)-An optional click handler for the item when selected. It fires when clicking the item with the pointer, as well as when pressing Enter with the keyboard if the item is highlighted when the Input or List element has focus.
indexnumber-The index of the item in the list. Improves performance when specified by avoiding the need to calculate the index automatically from the DOM.
nativeButtonbooleanfalseWhether 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.
disabledbooleanfalseWhether the component should ignore user interaction.
childrenReact.ReactNode--
classNamestring | ((state: Autocomplete.Item.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Item.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Item.State) => ReactElement)-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.

Item Data Attributes:

AttributeTypeDescription
data-highlighted-Present when the item is highlighted.
data-disabled-Present when the item is disabled.

Item.Props

Re-export of Item props.

Item.State

type AutocompleteItemState = {
  /** Whether the item should ignore user interaction. */
  disabled: boolean;
  /** Whether the item is highlighted. */
  highlighted: boolean;
};

Group

Groups related items with the corresponding label. Renders a <div> element.

Group Props:

PropTypeDefaultDescription
itemsany[]-Items to be rendered within this group. When provided, child Collection components will use these items.
classNamestring | ((state: Autocomplete.Group.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Group.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Group.State) => ReactElement)-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.

Group Data Attributes:

AttributeTypeDescription
data-popup-open-Present when the corresponding popup is open.
data-popup-side'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start' | nullIndicates which side the corresponding popup is positioned relative to its anchor.
data-list-empty-Present when the corresponding items list is empty.
data-pressed-Present when the input group is pressed.
data-disabled-Present when the component is disabled.
data-readonly-Present when the component is readonly.
data-valid-Present when the component is in a valid state (when wrapped in Field.Root).
data-invalid-Present when the component is in an invalid state (when wrapped in Field.Root).
data-dirty-Present when the component's value has changed (when wrapped in Field.Root).
data-touched-Present when the component has been touched (when wrapped in Field.Root).
data-filled-Present when the component has a value (when wrapped in Field.Root).
data-focused-Present when the component is focused (when wrapped in Field.Root).

Group.Props

Re-export of Group props.

Group.State

type AutocompleteGroupState = {};

GroupLabel

An accessible label that is automatically associated with its parent group. Renders a <div> element.

GroupLabel Props:

PropTypeDefaultDescription
classNamestring | ((state: Autocomplete.GroupLabel.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.GroupLabel.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.GroupLabel.State) => ReactElement)-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.

GroupLabel.Props

Re-export of GroupLabel props.

GroupLabel.State

type AutocompleteGroupLabelState = {};

Separator

A visual separator between items or groups. Renders a <div> element.

Separator Props:

PropTypeDefaultDescription
orientationOrientation'horizontal'The orientation of the separator.
classNamestring | ((state: Autocomplete.Separator.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Separator.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Separator.State) => ReactElement)-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.

Separator.Props

Re-export of Separator props.

Separator.State

type AutocompleteSeparatorState = {
  /** The orientation of the separator. */
  orientation: Orientation;
};

Status

Displays a status message whose content changes are announced politely to screen readers. Useful for conveying the status of an asynchronously loaded list. This component's root element must remain mounted in the DOM to announce changes consistently across screen readers. Avoid hiding or removing the component itself with display: none, hidden, aria-hidden, or conditional rendering. Prefer updating or conditionally rendering its children instead. Renders a <div> element.

Status Props:

PropTypeDefaultDescription
classNamestring | ((state: Autocomplete.Status.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Status.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Status.State) => ReactElement)-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.

Status.Props

Re-export of Status props.

Status.State

type AutocompleteStatusState = {};

Empty

Renders its children only when the list is empty. Requires the items prop on the root component. Announces changes politely to screen readers. This component's root element must remain mounted in the DOM to announce changes consistently across screen readers. Avoid hiding or removing the component itself with display: none, hidden, aria-hidden, or conditional rendering. Prefer updating or conditionally rendering its children instead. Renders a <div> element.

Empty Props:

PropTypeDefaultDescription
classNamestring | ((state: Autocomplete.Empty.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Empty.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Empty.State) => ReactElement)-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.

Empty.Props

Re-export of Empty props.

Empty.State

type AutocompleteEmptyState = {};

Collection

Renders filtered list items. Doesn't render its own HTML element.

If rendering a flat list, pass a function child to the List component instead, which implicitly wraps it.

Collection Props:

PropTypeDefaultDescription
children*((item: any, index: number) => React.ReactNode)--

Collection.Props

Re-export of Collection props.

Collection.State

type AutocompleteCollectionState = {};

Row

Displays a single row of items in a grid list. Enable grid on the root component to turn the listbox into a grid. Renders a <div> element.

Row Props:

PropTypeDefaultDescription
classNamestring | ((state: Autocomplete.Row.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.Row.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.Row.State) => ReactElement)-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.

Row.Props

Re-export of Row props.

Row.State

type AutocompleteRowState = {};

InputGroup

A wrapper for the input and its associated controls. Renders a <div> element.

InputGroup Props:

PropTypeDefaultDescription
classNamestring | ((state: Autocomplete.InputGroup.State) => string | undefined)-CSS class applied to the element, or a function that returns a class based on the component's state.
styleReact.CSSProperties | ((state: Autocomplete.InputGroup.State) => React.CSSProperties | undefined)-Style applied to the element, or a function that returns a style object based on the component's state.
renderReactElement | ((props: HTMLProps, state: Autocomplete.InputGroup.State) => ReactElement)-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.

InputGroup Data Attributes:

AttributeTypeDescription
data-popup-open-Present when the corresponding popup is open.
data-popup-side'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start' | nullIndicates which side the corresponding popup is positioned relative to its anchor.
data-list-empty-Present when the corresponding items list is empty.
data-pressed-Present when the input group is pressed.
data-disabled-Present when the component is disabled.
data-readonly-Present when the component is readonly.
data-valid-Present when the component is in a valid state (when wrapped in Field.Root).
data-invalid-Present when the component is in an invalid state (when wrapped in Field.Root).
data-dirty-Present when the component's value has changed (when wrapped in Field.Root).
data-touched-Present when the component has been touched (when wrapped in Field.Root).
data-filled-Present when the component has a value (when wrapped in Field.Root).
data-focused-Present when the component is focused (when wrapped in Field.Root).

InputGroup.Props

Re-export of InputGroup props.

InputGroup.State

type AutocompleteInputGroupState = {
  /** Whether the corresponding popup is open. */
  open: boolean;
  /** Whether the component should ignore user interaction. */
  disabled: boolean;
  /** Whether the component should ignore user edits. */
  readOnly: boolean;
  /** Indicates which side the corresponding popup is positioned relative to its anchor. */
  popupSide: Side | null;
  /** Present when the corresponding items list is empty. */
  listEmpty: boolean;
  /** Whether the field has been touched. */
  touched: boolean;
  /** Whether the field value has changed from its initial value. */
  dirty: boolean;
  /** Whether the field is valid. */
  valid: boolean | null;
  /** Whether the field has a value. */
  filled: boolean;
  /** Whether the field is focused. */
  focused: boolean;
};

useFilter

Matches items against a query using Intl.Collator for robust string matching.

Parameters:

ParameterTypeDefaultDescription
options?AutocompleteFilterOptions{}-

Return Value:

type ReturnValue = AutocompleteFilter;

useFilteredItems

Returns the internally filtered items. Treat the result as read-only: it is internal state and may be a shared frozen array.

Return Value:

type ReturnValue = T[];

Additional Types

AutocompleteFilter

type AutocompleteFilter = {
  /** Returns whether the item matches the query anywhere. */
  contains: <Item>(item: Item, query: string, itemToString?: (item: Item) => string) => boolean;
  /** Returns whether the item starts with the query. */
  startsWith: <Item>(item: Item, query: string, itemToString?: (item: Item) => string) => boolean;
  /** Returns whether the item ends with the query. */
  endsWith: <Item>(item: Item, query: string, itemToString?: (item: Item) => string) => boolean;
};

AutocompleteFilterOptions

type AutocompleteFilterOptions = {
  /**
   * The locale to use for string comparison.
   * Defaults to the user's runtime locale.
   */
  locale?: Intl.LocalesArgument;
};

External Types

Side

type Side = 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start';

Align

type Align = 'start' | 'center' | 'end';

OffsetFunction

type OffsetFunction = (data: {
  side: 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start';
  align: 'start' | 'center' | 'end';
  anchor: { width: number; height: number };
  positioner: { width: number; height: number };
}) => number;

InteractionType

type InteractionType = 'mouse' | 'touch' | 'pen' | 'keyboard' | '';

Orientation

type Orientation = 'horizontal' | 'vertical';

Export Groups

  • Autocomplete.Root: Autocomplete.Root, Autocomplete.Root.Props, Autocomplete.Root.State, Autocomplete.Root.Actions, Autocomplete.Root.ChangeEventReason, Autocomplete.Root.ChangeEventDetails, Autocomplete.Root.HighlightEventReason, Autocomplete.Root.HighlightEventDetails
  • Autocomplete.Value: Autocomplete.Value, Autocomplete.Value.State, Autocomplete.Value.Props
  • Autocomplete.Trigger: Autocomplete.Trigger, Autocomplete.Trigger.State, Autocomplete.Trigger.Props
  • Autocomplete.Input: Autocomplete.Input, Autocomplete.Input.State, Autocomplete.Input.Props
  • Autocomplete.InputGroup: Autocomplete.InputGroup, Autocomplete.InputGroup.State, Autocomplete.InputGroup.Props
  • Autocomplete.Icon: Autocomplete.Icon, Autocomplete.Icon.State, Autocomplete.Icon.Props
  • Autocomplete.Clear: Autocomplete.Clear, Autocomplete.Clear.State, Autocomplete.Clear.Props
  • Autocomplete.List: Autocomplete.List, Autocomplete.List.State, Autocomplete.List.Props
  • Autocomplete.Status: Autocomplete.Status, Autocomplete.Status.State, Autocomplete.Status.Props
  • Autocomplete.Portal: Autocomplete.Portal, Autocomplete.Portal.State, Autocomplete.Portal.Props
  • Autocomplete.Backdrop: Autocomplete.Backdrop, Autocomplete.Backdrop.Props, Autocomplete.Backdrop.State
  • Autocomplete.Positioner: Autocomplete.Positioner, Autocomplete.Positioner.State, Autocomplete.Positioner.Props
  • Autocomplete.Popup: Autocomplete.Popup, Autocomplete.Popup.State, Autocomplete.Popup.Props
  • Autocomplete.Arrow: Autocomplete.Arrow, Autocomplete.Arrow.State, Autocomplete.Arrow.Props
  • Autocomplete.Group: Autocomplete.Group, Autocomplete.Group.State, Autocomplete.Group.Props
  • Autocomplete.GroupLabel: Autocomplete.GroupLabel, Autocomplete.GroupLabel.State, Autocomplete.GroupLabel.Props
  • Autocomplete.Item: Autocomplete.Item, Autocomplete.Item.State, Autocomplete.Item.Props
  • Autocomplete.Row: Autocomplete.Row, Autocomplete.Row.State, Autocomplete.Row.Props
  • Autocomplete.Collection: Autocomplete.Collection, Autocomplete.Collection.State, Autocomplete.Collection.Props
  • Autocomplete.Empty: Autocomplete.Empty, Autocomplete.Empty.State, Autocomplete.Empty.Props
  • Autocomplete.Separator: Autocomplete.Separator, Autocomplete.Separator.Props, Autocomplete.Separator.State
  • Autocomplete.useFilter
  • Autocomplete.useFilteredItems
  • Default: AutocompleteSeparatorProps, AutocompleteSeparatorState, AutocompleteInputProps, AutocompleteInputState, AutocompleteIconProps, AutocompleteIconState, AutocompleteClearProps, AutocompleteClearState, AutocompletePopupProps, AutocompletePopupState, AutocompletePositionerProps, AutocompletePositionerState, AutocompleteListProps, AutocompleteListState, AutocompleteRowProps, AutocompleteRowState, AutocompleteArrowProps, AutocompleteArrowState, AutocompleteBackdropProps, AutocompleteBackdropState, AutocompletePortalProps, AutocompletePortalState, AutocompleteGroupProps, AutocompleteGroupState, AutocompleteGroupLabelProps, AutocompleteGroupLabelState, AutocompleteEmptyProps, AutocompleteEmptyState, AutocompleteStatusProps, AutocompleteStatusState, AutocompleteCollectionState, AutocompleteCollectionProps, AutocompleteFilter, AutocompleteFilterOptions, AutocompleteRootState, AutocompleteRootActions, AutocompleteRootChangeEventReason, AutocompleteRootChangeEventDetails, AutocompleteRootHighlightEventReason, AutocompleteRootHighlightEventDetails, AutocompleteRootProps, AutocompleteTriggerState, AutocompleteTriggerProps, AutocompleteInputGroupState, AutocompleteInputGroupProps, AutocompleteItemState, AutocompleteItemProps, AutocompleteValueState, AutocompleteValueProps

Canonical Types

Maps Canonical: Alias — Use Canonical when its namespace is already imported; otherwise use Alias.

  • Autocomplete.Root.Props: AutocompleteRootProps
  • Autocomplete.Root.State: AutocompleteRootState
  • Autocomplete.Root.Actions: AutocompleteRootActions
  • Autocomplete.Root.ChangeEventReason: AutocompleteRootChangeEventReason
  • Autocomplete.Root.ChangeEventDetails: AutocompleteRootChangeEventDetails
  • Autocomplete.Root.HighlightEventReason: AutocompleteRootHighlightEventReason
  • Autocomplete.Root.HighlightEventDetails: AutocompleteRootHighlightEventDetails
  • Autocomplete.Value.State: AutocompleteValueState
  • Autocomplete.Value.Props: AutocompleteValueProps
  • Autocomplete.Trigger.State: AutocompleteTriggerState
  • Autocomplete.Trigger.Props: AutocompleteTriggerProps
  • Autocomplete.Input.State: AutocompleteInputState
  • Autocomplete.Input.Props: AutocompleteInputProps
  • Autocomplete.InputGroup.State: AutocompleteInputGroupState
  • Autocomplete.InputGroup.Props: AutocompleteInputGroupProps
  • Autocomplete.Icon.State: AutocompleteIconState
  • Autocomplete.Icon.Props: AutocompleteIconProps
  • Autocomplete.Clear.State: AutocompleteClearState
  • Autocomplete.Clear.Props: AutocompleteClearProps
  • Autocomplete.List.State: AutocompleteListState
  • Autocomplete.List.Props: AutocompleteListProps
  • Autocomplete.Status.State: AutocompleteStatusState
  • Autocomplete.Status.Props: AutocompleteStatusProps
  • Autocomplete.Portal.State: AutocompletePortalState
  • Autocomplete.Portal.Props: AutocompletePortalProps
  • Autocomplete.Backdrop.Props: AutocompleteBackdropProps
  • Autocomplete.Backdrop.State: AutocompleteBackdropState
  • Autocomplete.Positioner.State: AutocompletePositionerState
  • Autocomplete.Positioner.Props: AutocompletePositionerProps
  • Autocomplete.Popup.State: AutocompletePopupState
  • Autocomplete.Popup.Props: AutocompletePopupProps
  • Autocomplete.Arrow.State: AutocompleteArrowState
  • Autocomplete.Arrow.Props: AutocompleteArrowProps
  • Autocomplete.Group.State: AutocompleteGroupState
  • Autocomplete.Group.Props: AutocompleteGroupProps
  • Autocomplete.GroupLabel.State: AutocompleteGroupLabelState
  • Autocomplete.GroupLabel.Props: AutocompleteGroupLabelProps
  • Autocomplete.Item.State: AutocompleteItemState
  • Autocomplete.Item.Props: AutocompleteItemProps
  • Autocomplete.Row.State: AutocompleteRowState
  • Autocomplete.Row.Props: AutocompleteRowProps
  • Autocomplete.Collection.State: AutocompleteCollectionState
  • Autocomplete.Collection.Props: AutocompleteCollectionProps
  • Autocomplete.Empty.State: AutocompleteEmptyState
  • Autocomplete.Empty.Props: AutocompleteEmptyProps
  • Autocomplete.Separator.Props: AutocompleteSeparatorProps
  • Autocomplete.Separator.State: AutocompleteSeparatorState