Module / v1.0.0-beta.7

@typed/ui/Checkbox

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

Learn this UI primitive →

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

Native controls

  • Checkbox

    variable

    Canonical component alias for Input.

  • Input

    function

    Renders a native checkbox input synchronized with hydrated state.

State connection

  • InputOptions

    interface

    Hydrated state synchronized with the input.

State construction

  • makeState

    function

    Creates hydrated, renderer-independent checkbox state.

State models

  • State

    interface

    Current renderer-independent checkbox state.

State transitions

  • setChecked

    function

    Sets the checkbox state to a boolean or mixed value.

  • toggle

    function

    Toggles checked state, treating the mixed state as unchecked.

interface

  • InitialState

    interface

    Public interface exposed as InitialState from @typed/ui/Checkbox.

type-alias

  • Checked

    type-alias

    Public type-alias exposed as Checked from @typed/ui/Checkbox.

variable

  • StateSchema

    variable

    Public variable exposed as StateSchema from @typed/ui/Checkbox.