Components

97 components in three tiers, read from the installed package’s registry. Every card is the real component, not a screenshot, in the brand picked on the home page.

Primitives (56)

Single elements: buttons, inputs, links, labels.

  • Grassy dunes above a grey sea under an overcast sky
    AspectRatioKeeps media at a fixed width-to-height ratio as the width changes, and holds the space before it loads
  • AvatarUser profile picture with fallback to initials when no image is provided
  • LiveDraft3
    BadgeSmall status indicator or numeric count overlay attached to another element
  • Good design is as little design as possible.
    Dieter Rams, Ten principles for good design
    BlockquoteA quotation set apart from the text around it, with who said it and where
  • ButtonTrigger for user actions; renders as <button> or <a> depending on context
  • ButtonGroupRelated actions kept together: Undo / Redo, zoom out / in, Cancel / Save
  • October 2026

    MonTueWedThuFriSatSun
    CalendarA month of days to choose one date or a range; the base for DatePicker and DateRangePicker
  • CheckboxSingle boolean selection with an associated label; supports indeterminate state
  • Good design is as little design as possible.1

    CitationA small link from a claim to its source: a numbered marker or a source chip, as in AI answers and articles
  • Save.tsx
    export function Save({ onSave }: Props) {  return <Button onClick={onSave}>Save changes</Button>}
    CodeBlockA block of code in the monospace face, with a filename or language, a Copy button, line numbers and highlighted lines
  • Standard delivery in 2–4 working days, or next day if ordered before 14:00.

    CollapsibleOne section that shows and hides behind a button (the WAI-ARIA disclosure pattern)
  • Start typing, then choose.

    ComboboxOne value from a long list, found by typing: a country, a town, a person
  • dd/mm/yyyy

    DatePickerA date typed or picked from a calendar: delivery dates, bookings, deadlines
  • Stay

    dd/mm/yyyy

    DateRangePickerA start and an end date: a stay, a report period, leave
  • Package
    @amezquita/design-system
    Version
    1.6.0
    Licence
    MIT
    DescriptionListLabelled values, like the details panel of a file or an order: terms and their descriptions, side by side or stacked
  • Above the line

    Below the line

    DividerA line that separates groups of content, horizontally or vertically
  • As it appears on invoices.

    FieldLabel, hint and error for any control, wired the way Input wires its own
  • Images or PDFs, up to 5 MB each.

    FileUploadPick files by button or by dragging them in, see what's chosen, and remove any
  • 1
    2
    3
    Spans 2
    5
    GridLays items out in rows and columns: fixed columns per breakpoint, or as many as fit
  • Level 3

    Level 4

    Level 5

    HeadingSemantic heading element (H1–H5 visual sizes, any <h1>–<h6> tag) with a visual size decoupled from its document-outline level
  • IconA Phosphor icon at one of the brand's icon sizes and colours, hidden from screen readers unless named
  • IconButtonAn action shown only as an icon, for toolbars, cards and dense rows
  • An arched wooden door in a terracotta wall, half in shadow
    Sun-baked doorways
    ImageAn image with a required alt, space held before it loads, a quiet fallback if it fails, and an optional caption
  • We’ll only use it for release notes.
    InputLabelled single-line text entry with hint and error states
  • https://
    InputGroupAn Input joined to the text and buttons that belong to it: "https://", "kr.", an Apply button
    • brand-brief.pdf2 MB · Edited today
    • tokens.json12 KB · Edited yesterday
    ItemOne row in a List: leading media, a title and description, trailing metadata or actions; optionally the whole row is a link
  • Open the palette with Ctrl + K

    KbdA key the user presses, drawn as a keycap
  • LabelStandalone form label element — used when a label must be decoupled from its input
  • LinkNavigation to another page or resource; use Link for navigation and Button for actions
    • Primitives
    • Composition
    • Patterns
    1. Install
    2. Import a theme
    3. Use a component
    ListA list, announced as one: rows of Items in an interface, or bullets and numbers in running text
  • 2 chosen: Danish, Spanish.
    • Danish
    • Spanish
    MultiSelectSeveral values from a long list, found by typing: skills, reviewers, languages
  • NumberInputA number typed or stepped: a quantity, an amount, a percentage
  • We sent 4 digits.

    OtpInputA short code sent by text or email, shown as one box per character
  • Uploading tokens.json
    Preparing export
    ProgressBarShows how far a task has got, or that it's running when the end isn't known
  • RadioSingle-selection control within a mutually exclusive group
    • Chart
    • TreeView
    • ToolCall
    • MessageList
    • ChatComposer
    • PromptForm
    • ChatMessage
    • Checkbox shape fix
    ScrollAreaA box that scrolls its content, with thin scrollbars in the brand's colours, reachable and scrollable with the keyboard
  • SearchA site or list search: a search landmark with Enter to search, Escape to clear and an optional shortcut
  • A section

    Width, spacing and tone come from the brand.

    SectionA band of a page: edge-to-edge background, space above and below, content centred at a set width with the page gutter
  • SegmentedControlOne choice from a few, shown side by side: a view switch, a time range
  • SelectDropdown for choosing a single value from a list; supports grouped options
  • Plan
    SelectableCardChoices shown as cards: pick one (radios) or several (checkboxes), with a title, a detail and a description on each
  • Loading profile
    SkeletonPlaceholder loading state that mirrors the geometry of the content it replaces
  • This site’s own SkipLink is the first Tab stop on every page. Press Tab from the top of the page to see it.

    SkipLinkFirst Tab stop on the page that lets keyboard users jump past the header to the main content
  • SliderOne value from a range, by dragging or with the keyboard: volume, a price limit, opacity
  • SpinnerIndeterminate loading indicator for in-progress operations
  • One
    Two
    Three
    StackLays children out in one direction with a consistent gap from the brand's spacing roles
  • DeployedDegradedDownBuilding
    StatusDotA small coloured dot that marks a status (online, live, degraded, failed), always with words
  • SwitchBinary toggle for on/off settings; renders as a styled checkbox under the hood
  • basetokensreacta11y
    TagA short label on content: a category, a status word, a chosen value; optionally removable or clickable
  • Separate with commas or press Enter.

    2 tags: React, Design tokens.
    • React
    • Design tokens
    TagInputFree-text values as tags: keywords, email addresses, ingredients
  • Body text in the brand's face.

    Small, secondary text.

    CAPTION, LABEL WEIGHT

    TextBody text in the brand's type roles (body, small, caption), with a tone and a weight
  • 0/200
    TextareaMulti-line text entry with label, hint, and error states — mirrors Input API
  • For example 14:30

    TimePickerOne time of day: an appointment, a delivery slot, opening hours
  • Edited

    Published

    Released

    TimestampA moment in time as people say it ("5 minutes ago", "yesterday") or as a date, in a time element
  • ToggleButtonA button that stays on or off, like bold in an editor or a grid overlay
  • Read the report (PDF, 2 MB)
    Screen readers also hear “PDF, 2 MB”.

    VisuallyHiddenText screen readers announce but sighted users don't see

Composition (15)

Containers and overlays that hold other components.

  • 1.1.1 is out

    The registry now installs the base theme’s colours.
    AlertContextual inline feedback message with semantic severity levels (info, success, warning, error)
  • AlertDialogConfirmation gate for an action the user must explicitly accept or decline — real alertdialog role, no outside-click/close-button dismiss, unlike Dialog
  • Songwriting profile

    A consumer of the system since 1.0.

    CardCompound container for grouped content — composed from named sub-components
  • Pick a command to see it run.

    CommandPaletteEvery action in an app, one search away: Ctrl+K or ⌘K, a few letters, Enter
  • report.pdf · right-click or Shift+F10
    ContextMenuThe actions for one thing, opened where the pointer is: a file row, a card, a canvas
  • DialogOverlay for tasks or information requiring focused attention
  • DrawerSide-anchored slide-in panel for supplemental content or secondary navigation
  • Reviewed by @ana.

    HoverCardA preview of what a link leads to: a person's profile, a page's summary
  • LightboxImages large, one at a time, over the page: a product's photos, a portfolio piece
  • MenuDropdown list of actions opened from a trigger: account menus, overflow ("more") menus, row actions
  • NavigationMenuThe site's header navigation: top-level links, plus groups that open a dropdown of links. Hidden below 1024px, where SideNav's drawer carries the same links (its headerItems)
  • PopoverContent shown next to its trigger without blocking the page: a filter panel, a date picker, a short form
  • Light

    Dark

    ThemeScopeGives one part of a page its own brand, mode, or both; overlays opened inside it (Dialog, Drawer, AlertDialog, Menu, Select, Tooltip) take the same, although they render at the end of the page
  • ToastEphemeral notification pushed to a corner of the viewport; auto-dismisses after a timeout
  • TooltipContextual label revealed on hover or focus — supplements an icon or truncated text

Patterns (26)

Larger, opinionated pieces of a page, built from the other two tiers.

  • AccordionCollapsible content sections with animated expand/collapse; supports single or multi-open modes
  • AppShellThe frame of an app's pages: skip link, header, section navigation, main content, aside, footer and bottom bar, in the right landmarks and laid out per breakpoint
  • BreadcrumbHierarchical page location trail; the last item is the current page (non-linked)
  • CarouselA row of slides shown a few at a time, moved with buttons, dots, swipe or arrow keys
  • Components per tier
    Bar chart, 1 series, 3 points, from Primitives to Patterns. Values from 15 to 56. Use the arrow keys to move between points, or switch to the table.
    ChartA line chart (change over time, an ordered sequence) or a bar chart (amounts compared across categories), keyboard-explorable and one click from a table of the same data
  • Enter to send, Shift + Enter for a new line

    ChatComposerWhere a message is written and sent in a conversation: a field that grows with the text, Enter to send, and Stop while a reply streams
  • Antonio
    Why does a brand only override some tokens?
    Assistant
    Because a brand is a thin skin on base: it changes only the roles that make it look like itself.
    ChatMessageOne message in a conversation, from a person or a model: who wrote it, when, what it says, and whether it's still arriving or failed
  • 1.1.1Patch
    1.1.0Minor
    1.0.0Major
    DataTableSortable, filterable, paginated table for structured datasets
  • No components match

    Try a shorter search.

    EmptyStatePlaceholder for zero-content states — icon, heading, supporting text, and an optional action
  • Contact details

    FormLayoutThe frame of a form: spacing, sections, rows, actions, and an error summary after a failed submit
  • Design system

    Start from base

    A brand-neutral theme every project starts from.

    HeroPage-level section header with eyebrow, title, lead text, and an action slot
  • Release 1.6.0

    Seven new components and square checkboxes in round brands.

    • Chart, TreeView and ToolCall
    • A chat set: ChatMessage, MessageList, ChatComposer, PromptForm

    npm install @amezquita/design-system@1.6.0

    MarkdownRenders a Markdown string with the system's own components, so release notes, READMEs and model answers look like the rest of the product
  • Antonio
    When should I add a component token?
    Assistant
    When a component needs a value no role gives it
    MessageListA conversation's messages in a scrolling list that follows the newest one, waits while you read back, and reads each finished reply aloud once
  • MobileNavThe bar at the bottom of a small screen with an app's main places
  • PaginationPage navigation controls for multi-page data sets; exposes current page and total page count
  • Before I start

    Which framework is the app in?
    Next.js
    PromptFormQuestions an assistant asks before it goes on, each a set of choices with "Other" for an answer in words, sent together and kept as a summary
  • Files

    Drag the handle, or focus it and use the arrow keys.

    ResizablePanelsTwo panes sharing the space, with a separator people drag, or move with the keyboard (the WAI-ARIA window splitter pattern)
  • SideNavSection navigation: inline beside the content (240px wide) from 1024px up; below that, in a left Drawer opened by SideNavTrigger, which hides itself from 1024px up. Wrap both in SideNavProvider
    1. Basket (Completed)
    2. Address (Current step)
    3. Delivery (Not started)
    4. Payment (Not started)
    StepperWhere someone is in a process with a fixed order: checkout, sign-up, an application
  • TokenValue
    space-inline-gap8px
    space-element-gap16px
    TableStatic data table with semantic header, body, and row structure
  • TableOfContentsThe sections of a long page as links, with the one being read marked: docs, articles, policies
  • npm install @amezquita/design-system
    TabsSegmented view switcher with full keyboard navigation; built on Radix Tabs
  • ToolbarA row of controls for one area: the formatting buttons over an editor, the actions over a table or canvas
  • Input
    {  "query": "radius"}
    Output
    {  "results": [    "--border-radius-component",    "--border-radius-interactive"  ]}
    Input
    {  "path": "tokens/brands/acme.json"}

    Allow this?

    ToolCallA tool an assistant used or wants to use: what it does, whether it's waiting, running, done or failed, its input and output, and a request for permission when it needs one
  • TopNavThe bar across the top of a site or app: brand, main navigation, actions
    • components
      • Button
        • Button.tsx
        • Button.css
    TreeViewNested items that open and close, such as files and folders, a component library or an outline, to browse, choose one or choose several