Motion-first React components built on ui-sdk, with docs your coding agent can read and controls an agent in your app can use.
In a Field, its label names the input and an invalid field marks it, with the error under it.
An AutocompleteTrigger at the end of the field opens the suggestions that match its text, so an empty field shows them all.
A person's photo in a circle over their initials, and a stack of them with a count for the rest. The photo fades in once it loads, the picture of a face pointed at in a stack lifts so the whole of it shows, and faces glide aside when someone joins or leaves.
A stack of plain faces names the people it shows in its aria-label, and the count says how many more. It shows 99+ past 99 and rolls when it changes.
The photo sits over the initials, which show while it loads and when there is none or it fails. Leave alt empty where the name is written beside it.
Each size is as tall as a button of the same size, at every density, so an avatar lines up with the controls beside it.
Faces that are links lift when pointed at, and open a card in a HoverCardGroup that glides from face to face. When someone joins or leaves, the others glide to make room. The count can open a list of the rest.
A status, a count or a tag, with the type and corner of the Tag input's chips. A new label or variant crossfades, and a count rolls to its new value inside an Animated number.
A count in an AnimatedNumber rolls to its new value, and the badge glides to its new width.
An icon goes before the label and is sized for it. Keep the word: a colour or an icon alone doesn’t say the status to everyone.
With render, a badge is a link (or any element) that darkens on hover and shows a focus ring.
Six variants: default for what should be seen first, secondary for a quiet label, outline for a lighter one, and success, warning and destructive for what went well, what needs a look and what went wrong. secondary and outline take their colour from the text around them, so they read the same in a muted list or a picked tab.
Values across categories, side by side, stacked, as shares or overlapped, such as this week just in front of last, upright or lying, or as a bridge from a start to an end through rises and falls. The category under the pointer stays bright while the rest step back, and every change of data, range or sort glides from where the bars are.
An axis takes a label, and side puts it at either edge: here the values sit at the end.
With layout="bridge", each change floats from the running total before it, and the categories in totals stand on the axis: given, or worked out when they have no value.
error says the data couldn’t load, and onRetry adds a button that tries again. loading shows a placeholder the bars grow out of.
orientation='horizontal' lays the bars along the categories, here with each value written past its bar and a target line.
Bars below zero hang from it, in negativeColor when you give one.
stack="overlap" stands the series of one stack in front of one another, each from the axis, the first written at the back: here each month’s hours booked in front of the hours the team has. It suits a part that never passes its whole; two values that can pass each other read better side by side, with a barGap below zero.
patterns gives each series after the first a pattern over its colour, so the series differ by more than colour. The legend shows and hides them.
selected, defaultSelected or onSelectedChange lets a press, Enter or Space pick a category, which stays bright until another is picked.
A barGap below zero overlaps the bars side by side, so each day stands just in front of the same day last week. Today, still coming in, is a series of its own in --chart-accent, solid so far with its pace behind it; the other days leave its keys out, so the tooltip leaves it out there.
ChartReferenceLine marks a value, one worked out from the data such as the average, or a category; ChartReferenceArea shades a range. The value axis reaches far enough to show them.
With ribbons, each series flows from one stack to the next, so a part’s growth reads across the categories. Pointing at a ribbon or a bar brings that series forward.
stack puts the series side by side, stacked, or as shares of their total. A new range, a sort or a hidden series glides from where the bars are, and new data grows out of the loading placeholder.
Charts in a ChartGroup share the category under the pointer or the focus, by its key.
indexType='time' places each bar on its date, as wide as the closest two allow, so the days with no deploys stay empty.
track draws each bar’s whole length behind it, for values out of a whole, and label='inside' writes the value at the bar’s end.
A ranked list with a bar behind each row, as long as its value against the largest, such as a site’s top pages, with an icon, a link or a pick per row, each row’s share, where each stood before with its change, and Show more. The row under the pointer stays bright while the rest step back, and new values swap the rows into their new order where they are while each value rolls.
sort='none' keeps the rows in the data’s order, such as the steps of a sign-up. format writes each value your way, and color gives one row a colour of its own.
href makes each row a link and icon puts a picture before its name. share writes each row’s part of the total, and past limit the rest wait behind Show more, gliding in as the list grows.
Rows ordered by value, each bar as long as its value against the largest. Another range swaps the rows into their new order where they are, rolls each value and slides each bar; the row under the pointer stays bright while the rest step back.
selected and onSelectedChange make each row a toggle, as on every chart: a dashboard filters by the row picked, which stays bright while the rest step back.
previous names each row’s earlier value: a line along the foot of the row runs as far as it stood, and the row writes its change after its value.
Lines between the nodes of a picture, placed by its layout rather than measured, so they hold at every width: each draws in the first time the picture is seen, and a pulse travels it when asked.
The trail of pages that leads to this one, with the Navigation menu's highlight gliding between its links. When it runs out of room, the crumbs after the first fold into a Menu behind “…”, the earliest first, and unfold as room comes back.
Links to the pages on the way here, and the page you’re on at the end. The highlight glides between the links.
Drag the frame’s corner: the crumbs that don’t fit fold into “…”, the earliest first, and come back as it widens.
An icon goes before a crumb’s name and is sized for it. A crumb that is only an icon takes an aria-label.
A separator’s children replace the chevron, such as a slash.
Ranks over time, one line per item, crossing where one overtakes another: ranks as given, or worked out from amounts, highest or lowest first, with names and ranks at both ends and gaps where an item has no rank. The line under the pointer, or the one the Up and Down arrows reach, stays bright end to end while the rest step back, and new ranks move every line from where it is.
An item with no rank in a period, out of the top five here, leaves a gap, and a name shows only at an end it reaches.
Ranks as the data has them, 1 the top. The other apps in a grey color let one line lead.
rankBy='lowest' ranks the smallest amount first, such as the fastest time. The legend hides an item, and the rest keep their rows.
rankBy ranks each week’s amounts, the highest first, and the tooltip gives each amount. Another measure moves every line to its new ranks, and the line under the pointer stays bright while the rest step back.
A button that animates what changes inside it: a label keeps the letters it shares with the next one, an icon becomes a spinner and then a tick, and the width follows.
To navigate, give a real link the button classes.
Render a new label and the button animates to it. Letters both labels share stay in place, and a new icon rolls in.