interface / @typed/ui/index

Select.State

Popup identity, committed value, visibility, and active option.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
State models
Since
1.0.0
Member of
Select

Import

import { Select } from "@typed/ui/index";

Access Select.State through the imported Select export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export interface State extends Omit<Composite.State, "orientation"> {
    readonly orientation: "vertical";
    readonly id: string;
    readonly value: string | null;
    readonly open: boolean;
}

Property: id

Stable id used for collection identity and ARIA relationships.

Property: open

Whether the associated native popover is open.

Property: orientation

Axis used to interpret Arrow-key movement.

Property: value

Current semantic value selected or edited by the widget.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source