Display
The small pieces of vocabulary a screen is assembled from: status, identity, progress, data tables and charts, and the one alert shape.
- status-pillA record's status as a tinted pill, colour and label.
- badgeAn uppercase bordered chip for small static markers. Distinct from status-pill, which is record status.
- meterA capacity bar with its number.
- statOne number on a dashboard, with a label and how much it changed.
- data-tableA native table for numbers people compare. If the table is wider than the screen, its card scrolls sideways, so a phone keeps every column and the row headers stay pinned at the start. To make a column sortable, link its header to the list sorted by it.
- chart-barA bar chart shows named categories as bars: one series of values that are zero or higher. It is a table, so screen readers get the names and numbers; the bars are decoration.
- chart-lineA line chart draws one series over evenly spaced points as SVG, without JavaScript. The axis labels are HTML, and screen readers skip the plot. The Show the numbers disclosure contains every value.
- sparklineA small line beside its caption. The caption gives the period and describes what the line shows, since screen readers cannot read the line itself.
- personInitials avatar, name and email. Quickly identifies people records.
- actorWho did something, as words: a person's name, or the agent and the person it acted for. No badge and no icon.
- calloutThe one alert vocabulary: tinted strip, tone icon, optional bold title, one body paragraph.
- detail-listDefinition list about a record on a detail screen. Mono marks for machine-ish values.
- snippetA line of code to copy: the code in a box, and a Copy button that copy.js shows where the browser has a clipboard.
- noticeA one-line confirmation after a redirect: one sentence in a paragraph with role="status". Leave it out when there is nothing to say.
- form-errorA form's summary error line, role="alert". Leave it out when there is no error.
- job-statusA background job's progress: a spinner, a line of text and a bar. The data-poll attributes say where a page could fetch a fresh copy and how often. Fiesta ships no script that does that, so wire it up yourself, and leave the attributes off once the job is done.