Status badge
FreeA small pill for states such as live, paused, failed or draft. Five tones, an optional pulsing dot, and theme colours so it fits light and dark mode.
A small pill for states such as live, paused, failed or draft. Five tones, an optional pulsing dot, and theme colours so it fits light and dark mode.
A service health row: status dot, name and uptime percentage over thin day bars coloured operational, degraded, outage or maintenance. Bars show 90, 60 or 30 days depending on the container width. Hover, tap or arrow keys raise the focused bar and its neighbours and open a card with the date, uptime and incidents. Several services stack into a status block with a computed summary, a 30/60/90 range switch that tweens the percentage, a legend, skeleton loading and a compact mode. Outage and maintenance bars carry a pattern so state never relies on colour alone.
A vertical timeline built from Timeline and TimelineItem. Items take a title, icon, timestamp (a real time element), description and any rich content such as notes, code or metrics. Six status colours cover success, warning, danger, info, pending and neutral, with status text for screen readers. A compact density uses dots for order tracking, and items can pulse as the current step or draw a dashed line toward upcoming ones.
A vertical step trace for showing what an assistant or automated job is doing. Each step has a type icon, a title, a status (pending, running, done, error or skipped), a live duration and a collapsible card with its input and output as key/value pairs or preformatted text. The rail fills down as steps finish, the running step pulses and its title shimmers. Steps can nest with their own sub-rail, and a header shows the step count, elapsed time and a segmented progress bar whose segments jump to and open their step. Failed steps offer a retry, status is always written as text, completions are announced politely, and motion stops when reduced motion is on.
In-page alerts for info, success, warning and error messages, with a title, body, optional action buttons (InlineAlertAction) and an optional dismiss button. Errors and warnings use role="alert", info and success use role="status", and the role can be overridden for messages present on page load. Tinted for light and dark mode.
A copy-to-clipboard button that swaps to a check for two seconds, plus a one-line CopySnippet for commands and IDs. Uses the Clipboard API with an execCommand fallback; when both are blocked (for example in a sandboxed iframe) it selects the text and asks for Ctrl+C or ⌘C instead of failing silently, and counts the user's own copy as success. Status is announced politely.
A two-column hero: headline, one supporting sentence, primary and secondary actions and a trust row (avatar stack plus a compliance note) on the left, and a cropped app window on the right built in HTML, with a sidebar, a progress bar, a transactions table with status pills and a floating stat card. Every colour comes from theme tokens; on phones the window stacks under the copy and stays cropped instead of shrinking.
A multi-column site footer: logo and one line about the product, a newsletter form with client-side validation and a confirmation, icon links with accessible names, four link groups in a labelled navigation, and a bottom bar with copyright, legal links and a status indicator. The brand name returns across the full width at the bottom. Link groups fold from four columns to two on phones; everything is passed as props.
A button that runs a whole async action in place: idle, pending, success and error, without ever changing width, because every label is stacked invisibly in one grid cell. Labels crossfade upward between states and icons change with them: a ring spinner (or a determinate arc when progress is given), a check that draws itself and an X with a small shake. While pending a hairline bar runs along the bottom edge, and success briefly floods the button green before it eases back. It keeps focus throughout, is busy rather than disabled while pending, announces each state politely, and simply swaps icons when reduced motion is requested. A status prop can force any state.
A floating bar of icon tiles where the tiles near the pointer swell, largest under the cursor and falling off smoothly over their neighbours, while the bar grows with them so nothing overlaps. A label rises above the hovered or focused tile and active items get a small dot. Works as a horizontal bottom dock or a vertical tool rail, with groups split by thin dividers and count badges that pop when they change. The avatars variant becomes a presence dock that opens a list of members and their status on click. It is a toolbar with arrow-key, Home and End navigation (focus swells like hover), labelled tiles, aria-current on the active one and announced badge counts. Touch screens get a simple press state and reduced motion a plain lift.
An interactive code sample panel for API docs. Language tabs (cURL, JavaScript, Python, Go or your own) with a sliding underline sit above the code, which crossfades when you switch. A small parameter form beside the code, or behind a 'Parameters' disclosure in narrow containers, edits values that are templated into every language live; changed lines get a left accent bar and the changed tokens flash briefly, with a screen-reader note that the line was updated. A built-in tokenizer colours strings, numbers, keywords, keys and comments from the chart tokens, so it follows the theme without a highlighting dependency. An optional Response tab shows a templated sample body with a status pill. Copy morphs its icon into a check and announces 'Copied', the chosen language can be remembered in localStorage, and the tabs are a proper keyboard tablist.