An open-source motion layer for shadcn/ui. One <Cuts /> line animates your dialogs, sheets, tabs and toasts; four helpers animate lists, numbers, skeletons and cards.
Panels open to their real height on a spring while their contents rise in one after another.
Read-only content exposure for Keyframery's UI SDK primitives.
Alerts drop into place out of a blur on a spring while their icon pops into its tile and draws, and when dismissed they fade and fold their height away.
A confirmation that rises out of a blur, with the warning icon popping in before the rest.
Every Keyframery UI component (95) and the motion tokens.
A person says yes or no to something an AI agent wants to do. The card shows the action, the control the agent would press, details and a risk level, with Approve and Deny; once answered it closes to one line. createApprovals() wires it to UI SDK's agent bridge, whose allow callback waits for the answer. The buttons sit inside data-agent-hidden, so an agent can read the card but can never approve its own request. createApprovals' allow also refuses any step aimed inside an approval card, and while it waits UI SDK holds the waiting agent's later act and query calls.
Frames that hold their shape and reshape on a spring when the ratio changes, with photos that fade up out of a blur once they have loaded.
File cards with image previews, upload progress, retry and remove actions, built on UI SDK core.
Suggestions cascade in under the field and one highlight glides between them as you type.
Photos fade up out of a blur once loaded, and stacked avatars spring apart on hover.
A complete store admin, built from UI SDK components end to end. Orders you can fulfil and refund, products, customers, discounts, an inbox, apps, settings and sign-in, all working on a sample store, in light and dark, phone to desktop. AI agents can read and use every page through UI SDK's agent bridge.
Badges pop in, a count rolls its digits up or down when the number changes, and a status dot sends out one ring each time the badge's text or count changes.
Crumbs arrive one after another with their chevrons drawing themselves, a crumb for a deeper page slides in from the right, and links underline from their start.
Chat bubbles that grow from their sender’s corner, with grouped messages, reply actions and delayed reactions, built on UI SDK core.
Presses spring back, the label lifts away for a spinner while pending, and an arrow nudges on hover.
Buttons join into one strip, and a single highlight glides from segment to segment under the pointer or keyboard focus, taking each segment's corners as it goes.
One key glides from the old day to the new one, and weeks slide in from the side you turned to.
Card parts cascade in, interactive cards lift on hover and sink while pressed, by pointer or by Space and Enter, and an optional light follows the pointer.
Slides travel on a spring and the active dot stretches into a bar.
Bar, line, area and donut charts in plain SVG and CSS, no charting library: bars grow from the baseline one after another, lines draw themselves, rings sweep round, and every change of data tweens on a spring. The tooltip glides with rolling numbers, the legend folds series away, and the arrow keys walk the points.
The box pops as it fills and the check draws itself.
Lines cascade in from the left, a highlighted line's band sweeps across and follows the highlight when it moves, and copying pops a tick that draws itself.
Content opens to its real height on a spring and its rows fall in one after another.
The picker unfolds from its swatch, the thumb grows while you drag and the colour cross-fades.
The list unfolds from the field, rows cascade in and one highlight glides between options.
A command palette whose rows cascade in, with one highlight gliding between results and pages sliding sideways.
A right-click menu that unfolds from the exact point you pressed, with the same gliding highlight as Menu.
The full list screen on top of Table, with no table library: give it data and columns and it owns the search, faceted filters with live counts, the sort, hidden columns, row selection, the page and the page size, each one controlled or not so a page can keep it in the URL. Rows cascade in after a sort or a page turn, a hidden column folds away while the others close the gap, Reset slides in while anything is filtered, and a bulk bar rises from the bottom centre while rows are selected.
One highlight glides between day, month and year as you move through the segments.
A field that opens a calendar unfolding from it, with the selected day gliding to its new place.
The label and value rows of a detail page, with real dl, dt and dd. Rows with a label column and hairlines, stacked, or a grid of two or three columns, reflowing to stacked on a phone by container queries. Values arrive in a short cascade, and a copy button copies its value and confirms on itself with a drawn check.
Rises from below out of a blur, then its title, fields and buttons arrive one after another.
Review the changes an agent proposes to a file: a line diff computed in-house (or read from a patch), unified or side by side, changed words marked, long unchanged runs folded, and Accept or Reject on every hunk.
A UI SDK core reading-direction boundary and toggle that mirror content between left-to-right and right-to-left layouts.
Slides in from any edge on a spring; its grip stretches while you drag it.
Empty states arrive part by part: the icon tile pops and its strokes draw, then the title, the description and each action rise in out of a blur.
Labels, hints and errors move together: an error slides in under the field and the ring turns red.
A drop zone that wakes up when a file is over it, with new file rows arriving one after another.
The faceted filter of a data table's toolbar: a dashed chip that opens a searchable list of values with counts, built on UI SDK's combobox. Chosen values arrive in the chip as badges one after another while the chip widens around them on a spring, counts roll, and a bar of filters slides its Reset in while any is active.
Fields that settle back while the form sends, a submit button whose label rises through sending to a drawn check, and server errors that open in place under the field they belong to.
A preview card that unfolds from the link you are pointing at.
The selection springs to a new ratio, handles grow while you drag and the zoom settles on a spring.
The focus ring closes in around the field on a spring.
Icons, text, buttons and a count around an input or textarea, in one field: the focus ring closes in on the whole group, the count rolls as you type and a send button pops in with the first character.
Rows of content that arrive one after another, with one highlight gliding between the rows you can open.
Keyboard keys that sink and spring back when pressed, one after another for a combination.
A label whose colour follows its control's focus and errors, with a small marker that pops in.
One highlight glides between options and checks pop in as you choose.