namespace / @typed/ui/index

Combobox

Public namespace exposed as Combobox from @typed/ui/index.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
namespace

Import

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

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

Signatures

export * as Combobox from "./Combobox.js";

Members

  • Combobox.InitialState

    Initial Combobox values. value defaults to an empty string, open to false, activeId to null, loop to true, and virtual focus is enabled.

  • Combobox.Input

    Renders the native combobox input, keeps its value property synchronized, opens on focus, and handles Arrow, Enter, and Escape when a collection is supplied.

  • Combobox.InputOptions

    Inputs accepted by Combobox.Input in addition to the shared DOM host options.

  • Combobox.Item

    Renders and optionally registers one option; disabled options expose aria-disabled and do not select on click.

  • Combobox.ItemOptions

    Inputs accepted by Combobox.Item in addition to the shared DOM host options.

  • Combobox.Popover

    Renders manual-popover listbox content, mirrors native toggle events into open state, and scrolls the selected option when opened.

  • Combobox.PopoverOptions

    Inputs accepted by Combobox.Popover in addition to the shared DOM host options.

  • Combobox.State

    Editable query text, popup visibility, and the active suggestion identity. value can contain unmatched text; active suggestion focus does not validate a domain choice.

  • Combobox.StateSchema

    Effect Schema used by makeState to encode, decode, and hydrate Combobox state.

  • Combobox.makeCollection

    Creates a scoped Collection for Combobox items.

  • Combobox.makeState

    Creates hydrated Combobox state. value defaults to an empty string, open to false, activeId to null, loop to true, and virtual focus is enabled.

  • Combobox.setValue

    Stores the input value, clears activeId, and opens the popup in one state update.

Other public imports

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

Source