Motion-first React components built on ui-sdk, with docs your coding agent can read and controls an agent in your app can use.
Put the second Drawer inside the first one’s content. It stacks on top, and the first dims.
When content appears or goes, the drawer moves to its new height.
A drawer opened with the open prop needs no trigger. When it closes, focus goes back to what had it before.
It slides up from the bottom edge with a handle on top. Swipe it down to close it.
Put what can grow in DrawerBody. It scrolls, and the header and the footer stay in place.
With side, it slides in from another edge: end here, as tall as the screen. Swipe or drag it back to close it, and a flick carries it out faster.
Wrap your page in DrawerOutlet, and it steps back behind the drawer. With variant="recede", a drawer steps back behind one opened on top of it.
Set side to start, top, bottom or end. Start and end follow the text direction.
With snapPoints, it rests at more than one height. This one opens fully and is dragged down to a peek, and its handle becomes a button that does the same.
Text that becomes a field in place, on ui-sdk's createInlineEdit: when the field opens, Enter, Escape and focus leaving, and a rename an agent can make. The Inline edit's primitive.
What shows where a list, a page or a panel has nothing in it: a picture, what belongs there and the next step. It rises into place when it comes back in place of content just cleared or filtered away.
Give show the condition it shows on and keep it mounted: when the list empties it rises into place, and a page that opens empty simply shows it.
Leave out EmptyMedia in a narrow panel, where the words are enough. With show left out it never moves.
Say what was looked for and how to clear it. Announce the count in a status region that is there before the search, and send focus back to the field when the search clears.
variant="stack" puts the icon in the first of three outlined rows, so the space reads as a list waiting for its rows. variant="outline" on Empty draws a dashed edge.
A landing page’s questions beside their heading: the title, its line and who to ask stay in view on the start side while the numbered questions scroll past, and several answers open at once.
A landing page’s questions with every answer in view, in two columns under the heading and who to ask, for a handful of short answers with nothing to open.
Every answer in view, in two columns, for a handful of short ones with nothing to open.
What the FAQ blocks share: a question and its answer, who to ask about the rest, and the section they sit in.
The heading and who to ask stay in view beside the numbered questions as they scroll past. Several answers open at once, so a visitor can compare two.
A landing page’s questions sorted into topics under a centred heading: tabs pick a topic, its questions sit in cards with one answer open at a time, and the list’s height follows the topic.
The questions sorted into topics, one answer open at a time. The list’s height follows the topic picked.
What the Features blocks share: a feature's words, the stage its picture stands on, and the section around them.
A landing page’s features as tiles, wide and narrow in turn, each with the product doing it above its words, every row full whatever the count.
A landing page’s features led by one: the first in depth beside a large picture of it at work, and the rest in brief under it.
The first feature in depth beside a large picture of it at work, and the rest in brief under it.
Each feature as a tile, with the product doing it above its words. Each picture plays once as you scroll to it, then rests.
A landing page’s features as a tour: pick one from the list, its description opens, and its picture plays in one large frame beside it.
Pick a feature from the list: its description opens and its picture plays in one large frame beside it.
No pictures: each tile shows its icon instead.
A label, a control and a message line under it, where the description rolls out and the error rolls in. With no description, the line opens as an error arrives and closes as it goes, so fields sit close together. Errors are read out as they appear.
A control that isn't one of ui-sdk's, joined to its Field as ui-sdk's controls are: the Field's id, label, description and check on the element its label names, a native input the Field checks for a control that keeps its value elsewhere, and its values sent with a form as hidden inputs. Kino's own controls share it, such as the Combobox's button, the Calendar and the File input. OutsideField keeps one of them inside another control, such as a profile photo's upload button, from being taken as its Field's control.
Submit it empty: the description rolls out of its line and the error rolls in, so the form around it stays still.
Group fields that belong together under a legend.
For a check that runs elsewhere, set invalid on the field and give FieldError the message. Try a free address.
Files picked, dropped or pasted, on ui-sdk's File input, checked for their type, size and count, and listed with their upload progress. Given an upload function, each file uploads as it's added, with cancel and retry, the form sends what the uploads gave back, and a submit waits for them; without one, the files themselves go with the form. Saved files open an edit form. The drop target answers a dragged file before it lands, the files turned away are listed with why, a status bar carries the batch, a row that arrives rises into place, and one that leaves fades while the rows below close its gap. A box the height of a text field fits a form where a file is one answer among others.
In a form where a file is one answer among others, FileInputBox takes the drop in a box the height of a text field, with the button at its end.
Pick, drop or paste receipts, then send the report: the form submits the files with the rest of its fields.
With multiple={false}, a new file takes the place of the one it holds: the old row fades as the new one rises.
onReject gets each file that wasn’t added with its reason, type, size, count or duplicate, so you write what the person reads.
With no upload, the files themselves go with the form when it is sent.
Given upload, each file goes up as it is added, the form sends the ids it gives back, and a submit waits for the uploads. The status under the rows carries the batch.
Give each row its progress, null while the size isn’t known, and an error when it fails. More actions, such as Retry, go in as children.
The parts Combobox, Autocomplete, Command and Trigger menu share: the field, a box that grows out of it and moves to the height of what still matches, its rows, and one highlight that glides between them.
Items in a wrapping row, or a table's rows, that glide to their new places when the row changes, across lines too, and leave as a copy that fades where they were. The Combobox's chips and the Table's rows share it.
A box that folds to a set height and unfolds to its whole height on the layout role, from the height it is at, and brings its top back into view as it folds: the Code block and the Testimonials wall.
A marketing site’s footer as a directory: every group of links under its heading, beside the logo, a line about the product, its status and its social links, over the legal line with the theme switch.
The logo, a line about the product, the service’s status and the social links beside headed groups of links, then the legal line with the theme switch. The groups fold into two columns on a phone.