Module / v1.0.0-beta.7

@typed/ui/Toolbar

10 unique exports available through this public import path, including their members and aliases.

Learn this UI primitive →

import * as Toolbar from "@typed/ui/Toolbar";

Command focus

  • InitialState

    type-alias

    Initial Toolbar values. Uses Composite defaults unless overridden.

  • State

    interface

    The active command and arrow-navigation policy. Formatting preferences such as bold or italic are separate application state.

  • StateSchema

    variable

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

  • makeState

    function

    Creates hydrated Toolbar state. Uses Composite defaults unless overridden.

Command registration

Toolbar commands

  • Item

    function

    Renders and optionally registers a toolbar button; focus activates it unless disabled.

  • ItemOptions

    interface

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

Toolbar surface

  • Root

    function

    Renders the toolbar root and moves roving focus through registered items in DOM order.

  • RootOptions

    interface

    Inputs accepted by Toolbar.Root in addition to the shared DOM host options.

  • Toolbar

    variable

    Consumer-facing alias of the canonical Toolbar component with identical behavior and lifetime.