Skip to content
Frauthy Brand
Frauthy index

Go anywhere.

    No exact contract found. Try a component family, product name, prop, or keyboard key.

    ↑↓ move↵ openesc close

    05 · Forms

    alpha

    ListBox

    An always-visible, single-selection collection with roving focus, typeahead, disabled items, and hidden form value.

    Since
    1.0.0-next.0
    Owner
    Brand Core
    Export
    PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/ListBox
    Release
    Documentation version
    Deterministic fixture · default state

    Component studio

    light · comfortable · LTR
    Used to map verified identities to membership.
    §01

    Contract

    Semantics first

    Anatomy

    Uses a labelled listbox with option descendants; focus and selection remain distinct and one option is tabbable.

    Consumer classes, styles, and data attributes may extend the surface, but required roles, IDs, relationships, and handlers remain owned by the component.

    Keyboard

    • Tab enters at the selected or first enabled option.
    • Arrow Up/Down, Home, and End move focus and wrap according to the behavior kernel.
    • Typing performs locale-aware buffered typeahead.
    • Enter or Space selects the focused option.
    §02

    Public surface

    API & styling

    Props

    id
    Explicit IDs override stable generated IDs.
    class / style
    Consumer additions compose with required styles.
    ref
    Element or callback where focus control is expected.
    children
    Typed content; raw HTML strings are never rendered.

    Slots & events

    children
    Primary content slot.
    onChange
    Typed value plus a small reason object when state changes.
    native events
    Composed without overwriting required handlers.

    State attributes

    • data-fui-listbox-field
    • data-fui-listbox
    • data-fui-key
    • data-fui-selected
    • data-fui-disabled
    • data-fui-invalid

    CSS tokens

    • --fui-field-*
    • --fui-listbox-*
    • --fui-option-*
    §03

    Consumption

    Solid, Vite & Astro

    Solid / VitePRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/ListBox
    import ListBox from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/ListBox';
    
    <ListBox>Frauthy content</ListBox>
    Astroisland
    ---
    import ListBox from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/ListBox';
    ---
    
    <ListBox client:visible>Frauthy content</ListBox>
    §04

    Verification

    Evidence record

    Scheduled

    Automated

    Batch D collection tests cover controlled/default selection, dynamic items, disabled/read-only states, roving focus, typeahead, reset, and hidden submission.

    Target
    Brand 1.0.0-next.0 matrix
    Last verified
    Pending integrated G2 run
    Required

    Assistive technology

    Pending VoiceOver/Safari, NVDA/Firefox, and mobile screen-reader listbox navigation; mobile evidence blocks beta.

    Desktop
    VoiceOver/Safari · NVDA/Firefox
    Touch
    Required for touch-centric behavior
    Open

    Known issues

    • Single selection only; multiple selection and virtualized collections are deferred.
    • Mobile screen-reader interaction is not yet verified.
    §05

    Editorial guidance

    Do / don’t

    Do

    Use for a persistently visible choice collection with stable keys and plain textValue strings.

    Don’t

    Do not use ListBox for site navigation or a short choice that NativeSelect handles better.

    Release activity

    ListBox · Brand Core

    1 recorded change · 26 weeks
    1. 1.0.0-next.3

      Baseline public component contract.

    Version & provenance

    New in the v2 architecture

    There is no stable predecessor for this explicit compiled subpath. The v1 compatibility layer remains tested separately; visual and API diffs begin with the next prerelease.

    Current
    1.0.0-next.0
    Previous
    compatibility surface
    Deprecation
    none
    Replacement
    not applicable
    Next in FormsCombobox