Motion-first React components built on ui-sdk, with docs your coding agent can read and controls an agent in your app can use.
Give a vertical line a height and self-center to draw it as tall as the text beside it, centred on it.
A line down fills the height of its row. This one only decorates a list, so it takes aria-hidden.
An app's settings: the sections in a list beside the page, every one in one form, so a change anywhere raises the Save bar and Save sends them all, and moving between sections keeps what was typed. A profile photo cropped in a dialog, notifications by channel whose rows fold away when it's off, and a danger zone of Confirm buttons.
A person’s profile, preferences and notifications in one form. Change anything in any section and the Save bar rises; Save sends them all. An email at taken.com is turned down by the server, and brings Profile back from any section.
The same parts for a workspace: its name, address and time zone, how members sign in, and deleting it.
Runs an action that may return a promise and reports whether it worked, and whether it had to wait. The Confirm button and the Inline edit share it.
The feel's spring for a role as the spring ui-sdk moves a drawer with, read where the drawer is, so a data-feel or data-motion around it re-times or stops it.
An app's navigation beside its page, built from the Tree's rows: one highlight glides with the pointer and focus, and the current page's tint glides to the next. Collapsed, it narrows to its icons, named by tooltips, or slides out of sight and peeks back from the screen's edge. On a phone it is a Drawer.
Collapse it with the button in the page’s header, or ⌘B and Ctrl+B: it narrows to its icons, and each icon’s tooltip names its page.
With collapsible='offcanvas', it slides out of sight. Rest the pointer on the screen’s edge and it comes back over the page until the pointer leaves.
Set side to end to dock it at the other edge. Start and end follow the text direction.
A sign-in screen built from the ways in your app offers: an email and password a password manager fills and submits, a 6-digit code by email, and Google, GitHub or Apple. When one moves on, the others fold away, and the card takes each step's height.
No password: a 6-digit code goes to the email and signs the person in, with a resend once the wait is over. The code here is 424242.
A code by email, with Google, GitHub and Apple under it. Once the code is sent, the accounts fold away. The code here is 424242.
Only an email and password. Forgot password sends a reset link, and the step that says so grows under the email. The password here is kinoui-2026.
An email and password, both on screen so a password manager fills them and signs in, with Google, GitHub and Apple under them. The password here is kinoui-2026.
Only Google, GitHub and Apple, with the one used last first.
A sign-up screen built from the ways in your app offers: a name, an email, a password with its strength and rules, and the terms, checked as each field is left, or Google, GitHub and Apple. Once the account is made, the card asks the person to check their email.
Only the form. Each field is checked as it is left, and every field when Create account is pressed.
A name, an email and a new password with its strength and rules, then the terms, with Google, GitHub and Apple under them. Once the account is made, the card asks the person to check their email.
Only Google, GitHub and Apple, with the terms under the card.
The logos in a row above the form, for an app most people join with an account they have.
A marketing site’s header: the logo, the menus with their panels and the actions in one bar that stays at the top. A surface fades in under it once the page scrolls. On a phone the menus open in a sheet.
The logo, the menus and the actions in one bar that stays at the top. A surface fades in under it once the page scrolls, so it reads over what passes beneath. Scroll the page to see it, or narrow the window to open the menus in a sheet.
A marketing site’s header that steps aside: it slides away as the page scrolls down and comes back as soon as it scrolls up. On a phone the menus open in a sheet.
Slides away as the page scrolls down, and comes back as soon as it scrolls up. It is a block of its own, site-header-headroom.
A marketing site’s header that floats: once the page scrolls, the logo, the menus and the actions draw in together and a bar forms around them, held off the top. On a phone the menus open in a sheet.
Once the page scrolls, the parts draw in together and a floating bar forms around them, held off the top. It is a block of its own, site-header-island.
What the Site header blocks share: the links they take, the row of menus a wide screen shows, the sheet a phone opens instead, the button that opens it, and the way a header follows the page’s scroll.
Placeholders for content that hasn’t loaded, breathing slowly: shapes at a part’s own size and lines at their text’s height, so the content lands in the same rows. SkeletonContent crossfades them with the content after 200ms of loading and keeps them at least 300ms, so a fast request never flashes them.
Until the members arrive, rows of placeholders stand in at a row’s height: the avatar’s shape, a line for the name and one for the email, each as wide as a typical one, and the badge’s shape.
The placeholder shows once loading has lasted 200ms, then stays at least 300ms, so a fast request never flashes it. One that mounts loading shows at once.
What is known before the data, such as the Total label, stays on the page; only the values wait, each line at its text’s height, so the order lands without moving.
A slider with one thumb or a range of two. The thumb glides to where you press, and its number rises above it while you hover, drag or use the arrow keys.
Put a SliderLabel and a SliderValue inside, and they sit in a row above the track. Press anywhere on the track and the thumb glides there.
A disabled slider fades and shows no number. Say why beside it, so nobody wonders.
In an invalid Field, the fill and the thumb turn the destructive colour and the error takes the description’s place.
Leave out the children and name it with aria-label. The page can hold the value, as the zoom buttons here do.
Give an array as the value for a thumb at each end. format sets how the number above a thumb and the value read out are written.
Set step and the value moves in those steps, by pointer and by arrow keys. Page Up and Page Down move by largeStep.
Buttons that sign a person in with Google, GitHub or Apple, each with its own logo: full width in a stack, or logos alone in a row. The pressed one shows a spinner while the provider opens and the others wait, and the provider used last can lead, marked Last used.
Give the group onSignIn: the pressed button shows a spinner while the provider opens, and the others wait.
A throw or a rejected promise from onSignIn puts the buttons back to rest, so the person can try again, as here after GitHub couldn’t be reached.
Each button’s children are its label, for a sign-up page or another language; lastUsedLabel translates the badge.
Pass lastUsed, the provider the person signed in with last: it comes first, marked Last used.
layout='row' shows the logos alone, side by side, each named by its label and showing it as a tooltip.
Lists put in a new order, and groups of lists whose items move between them, on ui-sdk’s reorder and transfer: a pointer drags a copy while the item shows as a slot, a finger holds an item to pick it up, the item glides from the copy into place, and each step is announced politely. The Sortable list is built on it.
A list put in a new order by dragging an item from anywhere on it, except a control inside it, by touch with a long press, and by keyboard from its handle, and a group of lists whose items move between them. Its neighbours glide aside as it passes, each move is announced, and it works as a column or as a wrapping grid.