Skip to content

Components

Every component in the library, grouped the way the sidebar and Storybook group them. Each card shows the component itself, drawn from the class plus data-* styling API with no React involved — the same contract every preview on every page is written against.

  • Button

    The action trigger of the system — three variants, eight roles, five sizes.

  • Dropdown

    A button that opens a menu, with the full APG keyboard down to typeahead.

  • Preferences Notifications and billing.

    Popover

    An anchored, non-modal surface a click opens.

  • Fab

    A circular trigger docked in a viewport corner, with a speed-dial mode.

  • Input

    One field for every input type, with a label, helper, and error the browser ties together.

  • InputPassword

    A password field with a reveal toggle and a caps-lock warning.

  • Textarea

    Input with more than one line, differing only in height and resize.

  • Checkbox

    A native checkbox with three corner shapes and a real mixed state.

  • Radio

    A native radio for picking exactly one option, grouped by the platform.

  • Toggle

    A switch built from one native input, with role="switch" pinned.

  • Swap

    Two icons in one spot, exchanged with an animation, driven by a real checkbox.

  • Select

    The native select wearing Input's field contract.

  • ComboBox

    The editable APG combobox — Input's field outside, a filterable listbox inside.

  • PinCode

    A one-time-code field built on a single real input, with SMS autofill for free.

  • Slider

    The native range input as a system slider — single or dual thumb, marks, a value bubble.

  • Rating

    A score picker that is a real radio group, and a score display that is a picture.

  • DatePicker

    A masked date field with a Calendar panel, whose value is always a plain ISO string.

  • TimePicker

    A masked time field with an hours-and-minutes panel, valued as HH:MM.

  • MTWTFSS
    272829303112
    3456789
    10111213141516
    17181920212223
    24252627282930

    Calendar

    An inline month grid for one date or a range, the same one the DatePicker opens.

  • Form

    A native form that hands its react-hook-form instance to every field below it.

  • A software update is available.

    Alert

    A feedback banner in four variants, with the announcement role derived from the colour.

  • Loading

    An indeterminate activity indicator with twenty-two variants.

  • Progress

    A linear bar on the native progress element.

  • Skeleton

    A placeholder box with a sheen crossing it while the real content loads.

  • Changes saved

    Toast

    A deck of notifications stacked in a corner of the screen.

  • Writes your changes to disk.

    Tooltip

    A short description of the element it wraps, revealed on hover and focus by one CSS rule.

  • DV AM LP

    Avatar

    A person as a photo or their initials, with a presence dot and an overlapping group.

  • Nuevo passing beta

    Badge

    A small status marker rendered as one span.

    • Wi-Fi Casa
    • Bluetooth On

    List

    A stack of rows on a named-line grid — the settings-pane and file-browser shape.

  • Orders completed
    1,284
    +3.1%

    Stat

    A metric card and the description list it lives in.

  • Sales by city
    CityTotal
    Quito$24,310
    Guayaquil$18,740

    Table

    A styled semantic table inside a named, focusable scroll region.

    1. Order confirmed
    2. Estimated arrival

    Timeline

    An ordered list on a rail — entries, group headings, and a now marker.

  • Divider

    A hairline separator with an optional label, in either orientation.

  • General
    Language and region.

    Collapse

    A disclosure built on native details and summary.

  • General
    Language and region.
    Appearance

    Accordion

    Collapse items sewn into one card, where opening one closes the rest.

  • Pro plan

    Reports and API access.

    Card

    A surface to put things on — the layout inside it stays yours.

  • Report

    Draft saved a moment ago.

    Mockup

    A decorative device frame — window, browser, or phone — around a real screen.

  • The General panel.

    Tabs

    One row of tabs over one visible panel, or a row of links that navigate.

  • Discard draft?

    This cannot be undone.

    Modal

    A real dialog element opened with showModal() — the surface that interrupts.

  • Filters

    Status and dates.

    Drawer

    The same dialog as Modal, slid in from one of four edges.