Motion-first React components built on ui-sdk, with docs your coding agent can read and controls an agent in your app can use.
Charts in a ChartGroup share the day under the pointer or the focus, by its key.
indexType='time' places each row on its date, so a year of days reads as a year, with a tick at each month.
The geometry of a line through a series’ points: the path d3-shape draws, smooth, straight, in steps or as a bump chart’s S-curves, any point along it, and how one line moves into another, with a baseline under each point for a fill. Line chart, Area chart, Bump chart and Sparkline share it.
A link to one item of a block, such as #cancel, that shows it first when it is out of sight (a closed answer, another topic, a release a filter hides), then brings it into view and moves focus to it.
A list of options that is always in view, by the WAI-ARIA listbox pattern: arrows, Home, End and typing a name move focus, and one option or many can be picked, with Shift for a range. Its rows and tick are the Select’s, and one highlight glides from row to row as in the Tree.
Press an option to pick it. Arrows, Home, End and typing a name move through the list; Space or Enter picks. In a Field, the list takes its label, description, error and disabled state.
ListboxEmpty shows while the list has no options, as when a search beside it finds none.
Options under a heading go in a ListboxGroup. Give the list a max-h- and it scrolls, keeping the option with focus in view.
With multiple, a press or Space adds an option or takes it away. Shift with a press or Space picks the options in between, Shift with an arrow carries the pick along, and Ctrl+A or ⌘A picks them all.
What the Menu and every list you pick from share: its rows, their ticks and headings, and one highlight that glides between them.
What shows that something is live, and the time it keeps: a pulse whose ring breathes while a value is live and fades once it stops, and `liveNow()`, the time now on the page’s clock, slowed where the page is slowed.
Customers’ logos in a hairline grid under a line that says who trusts the product, each sized to the same area, with a link to its story where there is one. Nothing moves.
Every logo at once in a hairline grid, each sized to the same area. A logo with a story is a link, marked by an arrow in its corner. Nothing moves.
Customers’ logos in one row that drifts past, fading at its edges, held while the pointer is over it or a logo has focus, and still under reduced motion.
One row that drifts past and fades at its edges. It holds while the pointer is over it or a logo has focus, and stands still under reduced motion.
What the Logo cloud blocks share: a customer’s logo drawn in the text colour at a size that gives every logo the same area, a link to the customer’s story, the line over the logos and the section they stand in.
Customers’ logos in eight slots, one rolling to a customer still waiting every few seconds, never beside the last; held while the pointer is over it or a logo has focus.
Eight slots, and every few seconds one rolls to a customer still waiting, never the slot beside the last, so more logos fit in little room.
Markdown drawn with Kino’s own parts, that reads well while a reply is still being written: a cut fence is code still arriving, a half table shows its rows, a half link its text. Only the block being written renders again. Marks put a citation at the end of the text it cites, and raw HTML shows as text.
A mark puts its content after a range of the source. Point at a citation, or focus it, and the text it cites lights up.
Give it the text as its children. Headings, lists, tables, code and links take Kino’s own parts.
Markdown as a tree, CommonMark with GFM’s tables, task lists, strikethrough and autolinks, with every node’s offsets into the source. While the text streams, what is cut at its end is closed in the tree, and only the last block is parsed again. Raw HTML is kept as text.
Pass streaming while the text arrives: a cut fence is code still being written, a half table shows its rows and a half link its text, with no stray markers. stopped keeps a reply cut short the same way.
Which mark is lit, such as a cited sentence and its sources: the pointer’s and the focus’s marks held apart, the newest lit, so one leaving gives the light back to the other.
Rows that drift sideways forever at a pace the feel sets, held while out of view and when told to, and still under reduced motion: the Testimonials and Logo cloud marquees.
A menu of actions and settings, opened from a button or by a right click: it grows out of what opened it, with one highlight that glides from item to item and into submenus. Checkbox and radio items, shortcuts, and submenus that grow out of their item.
A bar of menus, as in a desktop app: open one and move across the others with the pointer or the arrow keys. One highlight glides along the bar, and each menu grows out from under its trigger with one that glides between its items.
Open one menu, then move across the others with the pointer or the arrow keys.
They keep the menu open, and the other items line up with their text.
It grows out from the pointer on a right click, a long press or Shift F10.
It grows out from under its button, and one highlight glides from item to item.
A submenu grows out of its item, and the highlight glides into it.
A measurement in a known range, such as storage or seats, as a fill on a thin track. Past its high mark, or below its low mark, the fill and the value turn red, and a notch shows where that mark is.
Put a MeterLabel and a MeterValue inside, and they sit in a row above the track. Set high, and past it the fill and the value turn red; a notch marks where.
Stack meters for the limits of a plan. Each value changes in place: the fill draws to it and never moves on its own.
Money written one way everywhere: an amount in the currency’s smallest unit, its digits as ISO 4217 counts them, and the format for a bill ($10.00) or a pricing page ($10).
An amount of money: the symbol where the locale writes it, digits grouped as they are typed, the currency’s own decimals, and the value in minor units.
MoneyInputCurrency picks the currency from a list you give; the amount keeps its number.
Type an amount and its digits group as you go; the value is in cents, and the decimals fill in when you leave it.
locale puts the symbol on its side and sets the separators; the currency sets the decimals, none for yen.
Steps stop at max, and an amount typed past it goes down to it when the field is left. Shift with an arrow key steps by largeStep, here $100.
The feels as springs for motion elements of your own, with useMotionTransition, so what you animate keeps the same timing as the components.
The feels' springs as numbers, for motion timed in JavaScript, and MotionSpeed, which plays those springs slower or faster.
The browser's own select in Kino's input box, for long lists a phone picks from with its own wheel. Its options take the page's font.
The browser's own select as a ui-sdk primitive: an agent reads its value and options and picks one as a person does, and each change says who made it. The Native select's.
The browser’s own select, for a long list a phone picks from with its own wheel. Use Select for anything richer.
Group options under a label with NativeSelectOptGroup.
Its mark sits before the chevron.