ToonUI
Write ToonUI

Catalog

The current official component catalog exposed by @toon-ui/core.

The official catalog comes from @toon-ui/core and defines what the language supports today.

Hard rule:

  • use ONLY this catalog
  • do NOT invent pseudo-components like header, footer, input, modal, grid, or divider

Component groups

GroupComponents
Contenttext, heading, separator, badge
Structurecard, list, item, table, empty, tabs, accordion
Captureform, field, button, confirm
Overlaydialog, sheet, popover, tooltip
Feedbackalert, progress, loading, toast
Navigationbreadcrumb, pagination, menu, command
Analyticschart

Official components

  • text
  • heading
  • separator
  • card
  • form
  • field
  • button
  • confirm
  • list
  • item
  • badge
  • alert
  • table
  • empty
  • tabs
  • accordion
  • dialog
  • sheet
  • popover
  • tooltip
  • progress
  • loading
  • toast
  • breadcrumb
  • pagination
  • menu
  • command
  • chart

Variants and type families

FamilyValues
Button variantsprimary, secondary, danger, ghost, outline
Badge variantssuccess, warning, danger, neutral, info
Alert variantsinfo, success, warning, danger
Confirm variantsneutral, info, warning, danger, success
Chart typesbar, line, area, pie
Sheet sidesleft, right, top, bottom
Separator orientationshorizontal, vertical

Field types

text, email, number, password, date, time, textarea, select, checkbox, radio, switch, combobox, otp, slider, multiselect

Important modeling rule

The catalog defines the language, not your product semantics.

For example:

  • form means “collect structured input”
  • button means “trigger interaction”
  • reply="open:customer-42" is your app-level intent encoding

The catalog should stay generic. Your app decides what those actions mean.

  1. AI Authoring Rules
  2. @toon-ui/toon-ui
  3. Protocol and Types
  4. Errors and Validation

On this page