Motion-first React components built on ui-sdk, with docs your coding agent can read and controls an agent in your app can use.
An addon at the end holds a button or a hint; give an icon-only button an aria-label. Copy button copies the value and says it did. For search, Search field brings its clear button, shortcut and spinner.
With a textarea, an addon on block-end sits under the text.
An addon at the start holds an icon; a press on it puts the caret in the input.
Text in InputGroupText reads as the start of the value; an address reads left to right in every language.
In an invalid field, its border turns red and a mark scales into its box.
A one-time code in separate boxes, where each character rises into its box as it is typed or pasted.
For recovery codes, take letters too, and upper-case them in onValueChange as they arrive.
Check the code in onValueCommit, keep it readOnly while you do, and show a wrong code as the field’s error.
Each digit rises into its box as it is typed, and a whole code can be pasted.
A read-only value can be selected and copied; a disabled one is dimmed.
The tools your product works with around its mark, each joined to it by a beam that draws in the first time it is seen; a tool that is hovered or focused sends a pulse along its beam, or, live, the pulses keep coming one tool at a time.
Every tool your product works with as cards, narrowed by category and by name; the cards that stay glide to their new places, and an empty search offers every category and a way to ask for a tool.
Every tool as a card, narrowed by category and by name. The cards that stay glide to their new places, and an empty search offers every category and a way to ask for a tool.
The tools around your mark, each joined to it by a beam that draws in the first time it is seen. A tool that is hovered or focused sends a pulse along its beam and shows its line.
The same picture with pulses that keep coming, one tool at a time, held while the pointer is over it, a tool has focus or it is out of view.
What the Integrations blocks share: a tool your product works with, its mark on a tile in the text colour, and the section they stand in.
The surface an island floats on: the popover colours, a corner that wraps a row of controls as a pill, rising in on enter, sinking out on exit, and a corner that follows its size on layout. The Cookie consent island and the Live activity island share it.
A row of content: a picture or an icon, a title and a line under it, and actions at the end, alone or in a group that reads as a list. One that is a link or a button takes the rows’ tint, and in a group one highlight glides from row to row, as in the Listbox and the Sidebar.
ItemGroup reads as a list, each item an entry of it. ItemSeparator draws a line between them.
ItemHeader and ItemFooter each take a line of their own, above and below the rest.
With render, an item is a link or a button. In a group, one highlight glides from item to item under the pointer and with the keyboard’s focus.
ItemMedia shows an avatar as it is, an icon in a tile with variant="icon", or a picture cropped to a square with variant="image".
sm is as tall as a control with one line of text, and its description is small print, for lists of people or files.
outline draws a border, for an item that stands on its own. muted fills it, to set it apart. default has neither, for items in a list.
A key or a shortcut, drawn as keys that fit the text around them. Mod is ⌘ on a Mac and Ctrl elsewhere, and each key sinks while it is held.
One key, or a KbdGroup of keys pressed together. Write Mod for ⌘ on a Mac and Ctrl elsewhere; modifiers are drawn and ordered the platform’s way, so this Redo reads ⇧⌘Z on a Mac and Ctrl Shift Z elsewhere. Hold a key to see it sink.
An icon as the label needs name, the key as KeyboardEvent.key names it, so the key knows when it is held and what a screen reader should say.
Keys answer the shortcuts they show: press / to search or Mod S to save. Put aria-keyshortcuts on the control the shortcut runs.
A key is sized in em and takes the colour of the text around it, so it fits small print, a paragraph and a heading alike.
What a key is called, how each platform draws and orders it (Mod is ⌘ on a Mac and Ctrl elsewhere), what a screen reader says for it, and which keys are held now, from one listener for the whole page; and ui-sdk's shortcuts as a React hook and an `aria-keyshortcuts` ref.
A key number as a card, with its change and the picture that says what it means: a trend against the period before, progress to a target with its pace, a score in bands, a breakdown, a live count or a strip of days. A new period rolls every number from where it was and moves every picture to its new shape.
What the value is made of, as one bar of parts with each part’s count and share. A rate’s change is in percentage points.
A limit to stay under: with better="lower" and kind="limit", spending ahead of the pace turns amber, and passing the limit red.
A count that is still coming in: partial dashes the minute still counting, and the value rolls as each one arrives.
A value judged in bands, such as a Web Vital at P75: the band it is in lights, and each band’s end is marked under the joins.
The state of each day, such as a service’s uptime: the keys step through the days, each read as its state.
Progress to a goal, with the pale stretch where an even pace would be by now, so On track or Behind pace reads at a glance.
The value against the same days of the period before, dashed behind it. A new month rolls every number from where it was and moves the line to its new shape.
A label for a control outside a Field, such as a checkbox or a switch.
Put a checkbox or a switch inside it, and a press on the text toggles it.
Point it at a control with htmlFor. In a form, FieldLabel does this for you.
Series across days or months, smooth, straight or in steps, with gaps, bridges and a dashed forecast. The day under the pointer stays bright in a window that glides with the axis, while the rest of each line steps back, and a new range or new values move every point from where it is.
forecastFrom dashes the line from the day before it on, and the tooltip and the table say which values are forecast. dots marks every point.
A series with data of its own draws at its own times, such as a monthly forecast beside weekly counts. The tooltip reads it at its nearest date.
A missing value breaks the line, and connectNulls bridges it with a dashed line. zero={false} fits the value axis to the data.
With a window and live, the plot ends at now and scrolls at one steady speed; each row shows as it arrives. Point at it to hold it still.
A new range grows out of the line that was there, and a new curve or a hidden series glides from where the lines are. The day under the pointer stays bright while the rest steps back.
curve='step' holds each value until the next, for a balance or a price that changes at a moment.