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

    08 · Data & navigation

    beta

    StatusBadge

    A compact labelled status with tone, visible mark, and opt-in polite announcement.

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

    Component studio

    light · comfortable · LTR
    Recent decisions3 events
    1. allow user:ada → portal:docs
    2. deny user:lin → key:prod
    3. allow service:sync → schema:main
    §01

    Contract

    Semantics first

    Anatomy

    Renders inline text; live=polite adds role=status, while the default remains non-live to avoid repeated announcements in dense data.

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

    Keyboard

    • No custom keyboard contract and no focus target.
    §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-status-badge
    • data-tone

    CSS tokens

    • --fui-status-badge-*
    • --fui-success-*
    • --fui-warning-*
    • --fui-danger-*
    §03

    Consumption

    Solid, Vite & Astro

    Solid / VitePRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/StatusBadge
    import StatusBadge from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/StatusBadge';
    
    <StatusBadge>Frauthy content</StatusBadge>
    Astrostatic
    ---
    import StatusBadge from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/StatusBadge';
    ---
    
    <StatusBadge>Frauthy content</StatusBadge>
    §04

    Verification

    Evidence record

    Scheduled

    Automated

    Batch C group tests cover every tone, off/polite modes, visible text, decorative mark, and consumer span attributes.

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

    Assistive technology

    Pending VoiceOver and NVDA polite-update spot check; non-live dense table usage is reviewed separately.

    Desktop
    VoiceOver/Safari · NVDA/Firefox
    Touch
    Not required for beta
    Open

    Known issues

    • Opting many badges into live mode can create duplicate or noisy announcements.
    §05

    Editorial guidance

    Do / don’t

    Do

    Include a concise status word and use live=polite only for a meaningful change.

    Don’t

    Do not use badge color or the decorative dot as the only status information.

    Release activity

    StatusBadge · 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 Data & navigationAvatarGroup