The tokens and rules are in foundations; this page says what each motion component does and why. The feel is Basalt's own. Another site's motion was measured for reference, cited here by job, and nothing of its CSS, icons, loaders or assets is in this repository.
Measured for reference (production CSS and the designers' own posts, 6 Nov 2026):
- grok.com and x.ai: their duration and curve sets, a tooltip and menu entry from a scale of about .95, and the idea of a dot-matrix loader. Basalt uses main's 0 / 100 / 150 / 200 / 300ms scale and its four curves, a popup scale of .98, and a loader drawn as its own SVG.
- benji.org/morphing-icons-with-claude, family values, liveline and honkish: the ideas behind MorphIcon, TextMorph, Sparkline and the toast drain, rebuilt here. The command menu uses cmdk (MIT). Live preview before save: the note on X.
The panel's rulings on all of this, and the options it left to the owner, are review round 9: npm run review -- 9. The first version, round 8, was built before the panel saw it.
| Token | Value | Use |
|---|---|---|
duration-instant |
0 | Hover-in colour, selection |
duration-fast |
100ms | Hover-out, toggles, colour changes |
duration-base |
150ms | Tooltips, menus, popovers, text morph, the hover glide (popup rows and navigation) |
duration-slow |
200ms | Dialogs, accordions, the tab indicator and panel, the segmented and vertical-tab pill, a digit roll, a value glide (useGlide), a morph |
duration-slower |
300ms | Sheets, a travelling spinner, a travel's leg of up to 150px |
duration-figure |
600ms | A figure's own motion: each mark of a page's one entrance, and the longest leg of a travel the eye follows. Never a control, popup, panel, page or block |
duration-stagger is 22ms: the step between the marks of one figure entering, shrunk so every start falls within duration-slow of the first.
Under prefers-reduced-motion, duration-base, duration-slow, duration-slower and duration-figure are 100ms, duration-stagger is 0, and nothing moves, grows or travels: state changes become short fades.
Loops are grouped apart, because they are not entries: duration-loop-ring 640ms, duration-loop-braille 800ms, duration-loop-fade 1200ms, and duration-loop-ambient 6000ms, the middle period of an ambient loop (each mark runs 0.6 to 1.4 times it). A loop is never cut to 100ms, or it flickers.
| Curve | Value | Use |
|---|---|---|
ease-out |
cubic-bezier(.16, 1, .3, 1) |
Entries, and moves that answer input: popups, the tab indicator and panel, the sliding pill, the hover glide, a morph, a value glide |
ease-in |
cubic-bezier(.4, 0, 1, 1) |
Exits, at 0.75 of the entry |
ease-in-out |
cubic-bezier(.65, 0, .35, 1) |
A rest-to-rest travel the eye follows: TravelSpinner, and a traveller crossing a figure (see Travel), and loop pulses |
ease-linear |
cubic-bezier(0, 0, 1, 1) |
Spinner turns |
A popup (Menu, Select, Combobox, Popover, Tooltip) enters from opacity 0 and scale .98 at the point it grew from (--transform-origin), with no translate, over duration-base on ease-out; it leaves at 0.75 on ease-in. Because it scales from its origin it grows away from the trigger on every side. The CommandMenu has no open or close animation at all, its backdrop included.
A press is a colour step: the primary fill goes to action-primary-press; the other variants go to the selected wash. Button and IconButton (both are .basalt-button) also scale to .98 on :active over duration-fast on ease-out, and back when released. Under prefers-reduced-motion the scale is 1 and the colour step stays. It never applies to a disabled, loading or busy button (one waiting for its answer, from the press, before its ring shows), a menu item, a row, a card, a command row or the parts of a field (the NumberField steppers and the Combobox trigger keep the colour step and never scale; the council decided this 4-0), and there is no basalt-press utility. A Button that opens a Menu doesn't press: Base UI opens the menu on pointer-down, the trigger loses :active, and the menu opening is the response.
The code-block copy control swaps its Phosphor Copy icon for Check, instantly. The name changes from "Copy code" to "Copied".
A multi-select chip (MultiSelect) shows a plus when off and the check when on in one 16px seat. The two glyphs are stacked and swap by opacity over duration-fast on ease-out (a crossfade, not a MorphIcon morph: plus to check is not one of the allowed morphs), with or without reduced motion: it is opacity only, which reduced motion keeps (DECISIONS 138, C10; decided by the council and approved by the owner, the implementation hasn't been reviewed). A chip's colour changes ease over duration-fast too, hover-in is instant, and a press is a colour step with no scale.
A pressed toggle Button (aria-pressed; secondary and ghost) swaps its check the same way: the seat's glyph fades over duration-fast on ease-out, and the fill and ink step with it. It is a crossfade, not a MorphIcon morph, and the 100ms fade stays under reduced motion; the .98 press stays Button's momentary press (none under reduced motion). A choice card crossfades its fill, its hover wash and its box over duration-fast too, the same 100ms under reduced motion, and never scales.
The controls of DECISIONS 154 swap glyphs the same way, and every one keeps its 100ms crossfade with or without reduced motion (DECISIONS 138, C10; the ballot's "no crossfade under reduced motion" did not stand): the switch row's plus and check, an option chip's filled seat and its check, and an IconButton's done state (the plus and the check share one cell and swap by opacity over duration-fast on ease-out). The done state holds for duration-confirm (1500ms), a hold and not an animation, so it is the same under reduced motion; useConfirm clears its timer on unmount. Link tabs do not slide their underline (the links are routes and the row is drawn again with each page), and stacked tab panels keep the 8px slide of the incoming panel without moving the seat. Status: decided by the council (DECISIONS 154); the implementation hasn't been reviewed.
The sort indicator of a sortable table header (the caret and the two arrows) swaps at once, and no column of a still table moves. The one thing that moves is a numeric (end-aligned) header's label (DECISIONS 261): it rests on the numbers' edge over the empty seat after it and, while the indicator shows, moves aside by a transform over duration-base on ease-out, back at 0.75× on ease-in; on a fine pointer the indicator waits for it to clear the seat and fades in over duration-fast. Under reduced motion, and on touch, the label stays beside its seat and nothing moves. A column explainer (TableHeadExplainer) grows from .98 over duration-base on ease-out and leaves at 0.75× on ease-in, as a popover does, and only fades under reduced motion. Status: picked by the owner (DECISIONS 257, 261), built by Opus; the code review is Astra's.
SegmentedControl and a vertical TabsList each hold one pill element. When a segment or tab becomes chosen, the pill travels to it by transform and size (width, and height for the vertical list) on duration-slow and ease-out, whatever the distance. The move is a CSS transition, not a keyframe animation: a second change 60ms in turns the pill from where it has reached, without a queue or a snap back. The chosen label's ink changes at the press, over duration-fast, and does not wait for the pill; its weight changes from 400 to 600 at the same press and moves nothing, because every label reserves its 600 width. The pill's edge is its hairline: it casts no drop shadow, and shadow-pill is retired (DECISIONS 138; decided by the council and approved by the owner, the implementation hasn't been reviewed).
The component measures the chosen item into four CSS variables on the control, and nothing else: no animation frame is ever in React state. It re-measures when the control or the item resizes, when fonts finish loading, and when the screen turns; those re-placements are not moves. Its observers are removed with the control.
The pill is an enhancement over each item painting its own pill, which is how the control looks with no script. The shared pill is drawn only once JS has measured the chosen item, and never under reduced motion or in forced colours. Under reduced motion each item paints its own pill and fades it over 100ms. In forced colours the chosen item is Highlight with HighlightText and no backplate box. Touch targets stay at least 44px, and a tap slides the pill too. A control where several items can be on has no single pill to move, and does not slide.
When a filter or a sort changes a list or a grid, each item that stays moves by transform from where it is drawn to its new place, over duration-slow on ease-out, whatever the distance; an arrival fades in where it belongs on the same clock; a leaver is the same element, out of the flow where it stood, inert and under the movers, fading over 0.75 of duration-fast on ease-in. A second change starts every item from where it is drawn, opacity included. If focus is in an item that leaves, it goes to the next item that stays in the order drawn, else the one before, else the result line (tabindex="-1"), with preventScroll. The box's height glides on the same clock, clipped at its edge with a space-1-5 margin while it moves; nothing above or beside it moves, and what follows it moves once, with it (that movement is measured and reported on the review page, and is not zero). Only items on screen move, and past 48 that would move the change lands at once (an item that stays where it was is not one). Under reduced motion items and the box take their places at once, and arrivals fade over 100ms. A table keeps the still-table rule and is not part of this. Reflow renders every item, always (an item that is not shown is hidden), so none is ever replaced. Status: decided by the council (DECISIONS 136) and approved by the owner (DECISIONS 139); the implementation hasn't been reviewed.
One figure on a page's first screen may draw its marks once, at load, on a first visit: each mark over duration-figure on ease-out, duration-stagger apart, every start within duration-slow of the first. A bar scales from its baseline, a line draws along its length, a mark fades in; nothing translates, clips or blurs. An entrance draws one figure's marks inside a frame that is already there. Words, numbers, controls, cards, panels, images and sections never enter; they are at rest in the first frame, and nothing enters on scroll. A control used mid-entrance takes over: every mark glides from where it is drawn over duration-slow, and the visit counts as seen. The page's path is stored as seen when the entrance finishes or gives way, never before. A second visit, reduced motion, the hold, a hidden tab, a page opened below its first screen, print and no script all draw the figure at rest; the hold or printing that arrives mid-entrance settles it at once, with no new animation (printing is the print media query changing or the browser's own beforeprint; a real print fires only the event). A page change without a reload counts as a load: the app calls markPageChange() (the skill's Basalt.pageChange()) when the change begins, and the same gates apply from then (a first visit to that path, on its first screen, within a second); with nothing reported, the document's clock is used. The skill's chart glides every mark from where it is drawn when a new data set arrives mid-entrance, as React's does: a bar from its drawn height, a line along its drawn path and its markers from their drawn centres. A solid line draws by its stroke; a dashed or dotted line fades in, because a dash pattern cannot be drawn along its length. Status: decided by the council (DECISIONS 136) and approved by the owner (DECISIONS 139); the implementation hasn't been reviewed.
A traveller that leaves a resting place and stops at another, carrying something the reader follows, moves by transform on ease-in-out: a leg is duration-slower up to 150px, 2ms a pixel above, and duration-figure from 300px; it rests duration-slow at a stop while the stop takes its colour step, and a run ends inside five seconds. Each trigger is its own traveller: a second leaves from the start while the first keeps its course; a third lands the oldest at once. Under reduced motion the traveller appears at its destination with a 100ms fade and the outcome is written at once. The hold does not stop a travel the reader started, and nothing sends itself under it. travelLeg, travelRun and createTravellers are the timing and the rule (a run ends inside five seconds for every plan travelRun accepts; more than 17 legs, 16 stops, is refused with an error); TravelSpinner keeps its single duration-slower leg. Status: decided by the council (DECISIONS 136) and approved by the owner (DECISIONS 139); the implementation hasn't been reviewed.
One a page, only in its art, opacity only, from 1 to 0.2 and back on ease-in-out; each mark runs 0.6 to 1.4 times duration-loop-ambient with its own phase; a looping mark is no wider than size-dot and a page has at most 24. It joins the hold, and is still under reduced motion, in forced colours and in print. LoopsToggle is the control. A closing block's art (Stage closing) is held still: its marks stay at full opacity, because the page's one loop is the top stage's (DECISIONS 162, vote 2). Status: decided by the council (DECISIONS 136) and approved by the owner (DECISIONS 139); the implementation hasn't been reviewed.
A diagram is still unless its author asks for motion (motion="animated"). Still is the default and is the drawing as merged, unchanged.
Animated adds an entrance and, where the data names them, a flow line, a pulse or a packet. Motion never carries a fact alone, and it runs
only where lines are drawn. The entrance plays when the figure comes into view and is not the page's one entrance; the loops join the hold.
The rules and the tokens are in Motion in a diagram. Status: decided by the council (DECISIONS 287
to 291 and 292); the implementation hasn't been reviewed.
DECISIONS 306 adds three things. An entrance is not stored between visits unless the figure asks for entrance: "first-visit": then a
mark is stored when an entrance that played finishes or gives way to the reader, and later visits are at rest; a visit at rest by mode stores
nothing. Flow is on any edge: a dashed line's own dashes march, one period every 625ms, and sit where the key draws them whenever they are not
moving. A text sequence builds by ink: a message's label and arrow lift to their resting ink at its turn. No line is hidden and there is no caret.
There is no blinking caret. The diagram's viewer (DECISIONS 310) is still: no entrance, flow, mover or run plays in it, and a zoom lands at once.
Menu, Select, Combobox and CommandMenu draw one plate per popup, and navigation draws one pill per list, which follows the pointer between rows on duration-base and ease-out, whatever the distance. Each row's own plate is the fallback and stays correct with no script. Base UI's data-highlighted (and cmdk's data-selected) stays the authority for which row is active; the glide only paints it, and an input-modality check decides whether the plate travels (pointer) or snaps (keyboard).
| Moment | What the plate does |
|---|---|
| The pointer enters a row from outside | Appears in that row, in place, at once |
| The pointer moves to another row | Travels on duration-base, ease-out, constant |
| The pointer leaves while a move is in progress | Freezes where it is, then fades in place over duration-fast on ease-in |
| The pointer reaches a row during that fade (the grace) | Travels from where it is and returns to full opacity |
| The pointer reaches a row after the fade | Appears in place |
| An arrow key, Home or End | Moves at once, with no travel: in a popup the plate is the keyboard position |
| The pointer leaves the command menu | Nothing: cmdk keeps its selected row, so the plate stays |
| The command list in the page is not in use (no focus in the field, the pointer elsewhere) | The plate fades in place over duration-fast on ease-in; it returns, in place, when the field takes focus or the pointer enters |
| The plate crosses a one-line row and a two-line row (40 and 58 tall, 36 and 54 in a menu) | It changes height as it travels, on the same duration-base |
The plate is off on touch ((hover: none), a coarse pointer, or a touch pointerType), where the row under the finger shows its own plate on press; under reduced motion, where each row lights on its own, in at once and out with a 100ms fade, with no travel; and in forced colours, where each row is Highlight with HighlightText. It is pointer-inert and hidden from assistive technology. As with the pill, the plate position is CSS variables written from the DOM and the browser eases them, so there is no render per frame.
In navigation (Nav) the same plumbing (plate.tsx) marks the item under the pointer data-hovered (an attribute, not state) and the pill hugs that item's own pill, not its row, changing width as it goes: a 48px round pill at the selected wash, or the 48px circle in the rail. The rows are the same table with two differences. The first key hides the glide at once (not faded) and the focus ring shows, the control ring at +2 around the hugging pill; the pointer resting on an item hides its hover too while the keyboard is in use, and the next pointer move brings the glide back in place. The pill never touches the column's width. Off on touch, under reduced motion and in forced colours, where the hovered item is Highlight with HighlightText with no backplate; each item paints its own pill, in at once and out over duration-fast, and with no script that is the whole story.
The notification centre joins the glide as a third kind in plate.tsx, with no new mechanism: the pointer glides one plate between entries (40 or 58 tall; 44 or 58 on touch), the first key hides it and the resting hover, so only the shipped rounded control ring at +2 shows, and the next pointer move brings the plate back. Off on touch, under reduced motion and in forced colours, where each entry paints its own.
A list with a preview, narrower than its split (816px of its container), shows the list alone and pushes the detail. The detail enters from 8px along the reading direction with a fade over duration-slow on ease-out; Back returns the list from the other way, the same. Under reduced motion it is a fade alone, and under :dir(rtl) the travel flips. Nothing is measured per frame: it is one CSS animation, started when the pane is shown. Status: decided by the council (DECISIONS 103); the implementation has not been reviewed.
The site header's menu under 720 is Sheet side="top" (decision 96). It does not slide: the bar's own band, redrawn in the sheet's first
row, is there at once, and the list unrolls beneath it from the band's edge. The unroll is a clip-path transition, not a transform, so
nothing moves that was already on screen (the brand, the toggle and Close stay where the bar had them).
| Moment | What moves |
|---|---|
| Open | The sheet's clip opens from the band's bottom edge to the sheet's full height over duration-slower on ease-out, while the scrim fades in. |
| The Menu button | The glyph morphs to Close over duration-slow (the drawn pair, MorphIcon); it morphs back as the menu leaves. |
| Close (Escape, the scrim, Close, a link) | The clip closes back to the band at 0.75 of the entry on ease-in, the scrim fading with it; focus goes back to Menu. |
| Reduced motion | Opacity only, over 100ms: no clip, no morph (the glyph swaps at once). |
The scrim is unblurred and the sheet is solid: the bar under it stays the one filtered surface, and nothing translucent stacks on it.
A press or hover is a colour step on a 32px circle behind the glyph (duration-fast, in at once); the first key hides it. Nothing in the
tab bar moves, resizes or glides, and no cell scales. The bar has no shared pill, because it exists only under 720, where the glide is
off on touch anyway.
The Meter's fill glides over duration-slow on ease-out when its value changes (a CSS transition on the fill's width, so a second change turns from where it has reached). Under reduced motion it jumps. The slot, the target tick and every word hold still: the fill is the only thing a new value moves, and over the cap it stops at the slot's end. A stat's source line, a description list and the stat's figures have no motion.
A live Terminal (decision 94) is role="log" only while lines arrive, never while idle, paused or finished. A line appears when it arrives: it has no entry animation, so reduced motion changes nothing. The log has a fixed height that scrolls inside, so arriving lines never move the page, and it follows the end only while the reader is at it; scrolling up stops it, and scrolling back to the end resumes it. Pressing Play or Replay makes the region a log first and shows the first line one frame later (so a screen reader hears it), so a replay's box is never blank for an interval. A replay has a pause control (WCAG 2.2.2), and every word that changes in place in the head ("Not started", "Running", "Paused", "Done", "Failed, exit 1"; "Play", "Pause", "Resume", "Replay"; "Copy commands", "Copied") stands in one cell with the others hidden, so the head never moves. Braille beside "Running" holds its first frame under reduced motion.
A chart (decision 101) is drawn at rest on its first paint, unless it is its page's one entrance (its marks draw once on a first visit, see foundations), and nothing in it loops.
| Moment | What moves |
|---|---|
| A value changes in place (a late sync, a correction) | The marks, the scale, its gridlines and its labels glide together over duration-slow on ease-out, as Sparkline does. |
| A new peak | The scale widens at once, so nothing clips; it eases back when it shrinks (Sparkline's rule). |
| A value with no previous place | It appears where it belongs while its hatch fades, on the same clock: one update is one clock. A value removed goes at once while its hatch fades in. |
| A new range (7, 28, 90 days) | A new domain, so nothing travels: the marks fade in over duration-fast. The frame, the legend and the controls do not move. |
| Picking a day (hover, a tap, a key) | Instant. The plate does not glide: chart days are dense, and a gliding plate trails the pointer. |
| Reduced motion | Values and the scale snap; a new range is a 100ms fade. |
| A number beside a chart | At its real value from the first frame, the entrance included; it never counts up. A value that changes in place glides with the marks over duration-slow (NumberTicker glide), the readable text the target. |
| The headline number when a day is picked (DECISIONS 153, vote 9: no majority, the glide stands; the implementation hasn't been reviewed) | It glides over duration-slow (NumberTicker glide), the readable text the target; its seat, the unit and the context line do not move. The picked day on a trend is one head dot that moves at once. |
| The phase chart's open week (DECISIONS 153, vote 17) | The plate behind the plot and the lane slides to the chosen week over duration-slow on ease-out (the segmented control's rule); under reduced motion it sets in place, and in forced colours it is an outline. Picking a day on the plot does not move it. |
| A marks row's new values (DECISIONS 153, consent row 11) | Each mark glides to its height over duration-slow; none under reduced motion. The share bar, the coverage strip, the marks row and the range meter draw at rest and are never a page's one entrance; the range meter's marker glides over duration-slow. |
The entrance (entrance on a chart that is its page's one) |
Each mark draws once on a first visit over duration-figure; a change of data mid-entrance takes over and glides every mark from where it is drawn. |
Decision 104. A bar that is clear over a stage (see foundations) changes to the smoked bar from the first pixel of scroll.
| Moment | What moves |
|---|---|
| Clear to smoked (an entry) | The fill (surface-chrome) and the line (border-hairline) fade in over duration-base on ease-out. The blur (blur-chrome) switches at once, and the ink never changes. |
| Smoked to clear (an exit) | The fill and the line fade out over 0.75 of duration-base on ease-in, and the blur is gone at once. |
A departure first reported past the headroom's 24px slack: an instant anchor, a scrollTo, a restored scroll position, a scroll the browser doesn't animate |
Everything switches at once: art past the headroom is already under the bar. A scroll the browser animates (Page Down, Space, a smooth anchor) is first reported inside the slack and gets the fade above. |
| A page opening at the top | Clear in its first frame when script runs: no fade from smoked. Without script it stays smoked. |
| Reduced motion | The duration tokens' 100ms fade (75ms leaving). Nothing moves, so there is no movement to remove. |
| Reduced transparency, forced colours, print | No change: the bar is opaque in both states. |
DECISIONS 146 D. A bar that arrives, or leaves and returns (useSitePhase; see foundations):
| Piece | What it does | Reduced motion |
|---|---|---|
Arriving bar (useSitePhase) |
Drops in from above its own top edge over duration-slower on ease-out; leaves at 0.75 on ease-in. The opening state, a jump past the line and a return to rest straight from pinned switch at once. A turn mid-exit travels back from where the bar has reached. |
Opacity only, 100ms (75 out) |
| The theme choice's pill | Slides to the chosen word over duration-slow on ease-out, as the segmented control's does. |
Each word paints its own pill |
| The footer's disclosure chevron | Turns over duration-slow on ease-out. |
Colour only |
No backdrop-filter |
Clear at the top as usual; scrolled, the fill fades to the opaque surface-page fallback and the line arrives, the same fade. |
|
| Framed art arrives | The art fades in over duration-base on ease-out, once decoded, opacity only. Art already loaded when the component mounts shows at once. Under reduced motion it is 100ms. |
The frame has no shimmer, spinner or blurred preview while it loads, and stage art never moves; it may hold its page's one ambient loop, opacity only (see foundations, Motion).
DECISIONS 137 and 139. A role's size changes at 720 and at 1024 with no transition: the window's width is not animated, and nothing in a headline,
a lead, a section or a column grid has an entrance, a fade-up, a count-up or a loop. Geist arriving over its fallback face (font-display: swap)
is a swap with no fade: the fallback face (see foundations) is metric-matched so the page moves as little as it
can, and it does not promise the same wrap at every width. Under reduced motion the render is the same, because nothing here moves.
Status: decided by the council for the owner's handoff (DECISIONS 302, 304, 307, 312 and 316); the implementation hasn't been reviewed. See foundations.
| What | Motion | Reduced motion | The hold |
|---|---|---|---|
A StageMark's change of state |
Both marks stand in the one seat, the old fading out as the new fades in, over fast on ease-out |
The same (opacity only) | Lands at once |
A StageBadge's change of face |
Sequential: the old face fades and rises space-1 over 0.75 of base on ease-in, then the new one fades in from space-1 below over base on ease-out; no width animates |
The faces only fade | Lands at once |
| A stage's detail row | Opens by height and opacity over slow on ease-out; closes at 0.75 on ease-in |
Lands at once | Lands at once |
| A rail's link | Its fill grows from the inline start over slower on ease-out when its stage passes; empties at once on a retry |
Lands at once | Lands at once |
| A run timeline's roll | Each row inside the window moves by transform from where it was drawn over slow on ease-out, the ink stepping on the same clock; the arriving step fades over base; past 48 counted rows it lands at once |
Lands at once; the arrival fades over 100ms | Lands at once |
| A stage transcript's step back | A colour step over fast; nothing moves |
The same | Lands at once |
| The queued breath | See Spinners | Still, at full | Still, at full |
| Variant | Use it |
|---|---|
ring |
A wait: the default arc, in a loading button, the command menu's loading slot, and wherever a spinner stands without a visible word. One turn in 640ms. Under reduced motion it fades on duration-loop-fade. |
braille |
A status: work that runs beside a word that says so, in a table, a list row, a toast or a log line. Never in a button, never without its word. Basalt's own six-dot cell drawn in SVG, 6 by 10 with 2px dots on whole pixels (9 by 15 at size 20, 12 by 20 at 24), ten frames (⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏), one 800ms cycle (80ms a frame), hard step-end; unlit dots are not drawn. It takes the status dot's place and gap, in its word's colour. It holds its first frame under reduced motion. |
The queued breath (DECISIONS 316) is a StageMark's at queued, and no other mark's: by opacity alone, from opacity-queued (0.65) to 1 and back on duration-loop-fade and ease-in-out, alternating, in secondary ink, 3:1 or better at its lowest on every surface. It joins the shared clock and the hold, and is still, at full, under reduced motion, in forced colours and in print. A Badge's pending ring never breathes.
Spinners on a page share one clock: each animation starts at the document timeline's origin, so spinners mounted at different moments tick in phase, each variant on its own period.
The hold. <html data-loops="held"> (set by useLoops()) stops every Basalt loop, portals included: braille stays on ⠋ and the ring stands still at its drawing, at full opacity; a busy Button's ring, a busy TextButton's underline (dashed and full), Sparkline's loading line, Skeleton's pulse, a written field's fill and a queued StageMark's breath stop with them, and the indeterminate Progress bar holds as the empty track, its indicator hidden (a still bar reads as a value). Nothing is hidden, swapped or announced. It outranks reduced motion by specificity, so held is one look whatever the OS says and the ring's fade stops too; reduced motion never turns it on. The state is stored for this app's origin in this browser (basalt-loops, localStorage) and follows across the app's tabs. Releasing jumps to now: every Basalt loop's startTime goes back to the timeline's origin, so spinners mounted at different moments tick in phase, and nothing resumes from the held frame. The toast's drain is a countdown, not a loop, so the hold does not stop it. An app reads held for its own rewriting text (an elapsed time shows when the work started; a streaming count hides). This is the WCAG 2.2.2 mechanism; the control is LoopsToggle, in the form the place needs (an icon toggle in a site header, a pressed-toggle Button in the view's head, a settings row with a Switch; a command is the app's part). The hold stops the page's ambient loop as well. See foundations.
Beside a word, braille's size follows the word's cap height (16 beside 12 to 16px text, 20 beside 18 to 24px, 24 beside 30px and up), the seat is the cell's width and the gap equals it (6, 9 and 12px), so words start at 12, 18 and 24.
Pass label when the spinner is the status (role="status"). Omit it when a word beside it already says so. There is no blinking caret: an input keeps the native caret, which follows the system's blink rate and its setting to stop blinking.
| Piece | What it does | Reduced motion |
|---|---|---|
MorphIcon |
A core glyph (glyph={CloseGlyph}, any glyph by reference, so an app bundles only the ones it imports) that morphs at slow on ease-out, and only where the council allowed: rest and selected, a rotation group (four arrows, four chevrons, plus and close), and the drawn pairs menu/close, play/pause, copy/check and chevron-down/download, both ways. Every other change swaps at once. A morph in flight keeps its identity: asking for its target does nothing, asking for where it came from runs it back, asking for another member of its group turns on. The stroke is 2.25 on the 24 grid. Basalt's controls draw their core glyphs through it: a Button or IconButton with an icon (a pressed toggle, an IconButton's done), a NavItem or TabBarItem becoming current, and the copy buttons of CodeBlock and Terminal (Copy to Check); the engine loads on demand, on first need. A long-tail glyph swaps. |
Instant swap, in MorphIcon and in the controls (DECISIONS 221); IconButton's done seat keeps its 100ms crossfade for any pair |
TextMorph |
For short action labels only ("Save" to "Saved"). Shared letters stay on their measured positions; leaving letters fade; the width eases. One polite live region reads the whole string. | The letters change, with no motion |
Tabs and Slide |
The underline of a horizontal tab bar moves at slow on ease-out; the panel moves 8px and fades in at the same timing, without remounting. The panel left goes at once (display: none from the change, while Base UI finishes its exit; a stacked panel keeps its room by visibility), so a switch is one change: it used to stay in the flow for the 200ms slide and hold the new panel under itself, off screen, and then drop it into place. Vertical tabs are a column of pills in a track: the chosen tab's pill slides as the segmented control's does (see below), and their panel moves 8px down or up. |
A 100ms crossfade; the underline does not move; each tab shows its own pill |
SegmentedControl |
One pill per control slides to the chosen segment at slow on ease-out. |
Each segment shows its own pill, fading over 100ms |
Stepper |
Back stays a left chevron. Next becomes a check on the last step. | Instant swap |
Sparkline |
A monochrome line and its latest value: not a charting component. A flat line breathes while loading (the one loop here, held by data-loops="held"), then eases into the samples. When the range changes the line, the scale and the labels move together over slow on ease-out; a new peak widens the scale at once. An empty list is a quiet sentence. |
Everything snaps |
NumberTicker |
Rolls tabular digits on slow. With glide the digits ease through the intermediate values, rounded to the display precision, over slow on ease-out. The readable text is always the target. Its digits are drawn, never selected; the number itself is in the sentence's flow under them, unseen, and is what a selection paints and copies: the sentence's own band, the number once, on its line (in forced colours the roll stops with the other moving parts: see the last column). Decided by the council (DECISIONS 138, 147) and approved by the owner (DECISIONS 139); the implementation has not been reviewed. |
Plain tabular text at the same width and baseline, which is the readable number itself, in the sentence's own line (no 1em box, no clip). In forced colours the same: the strips are hidden, a new value changes in place, and the system paints one selection band and its selected-text colour on the digits. The sparkline's headline, a flex item, keeps its 1em box |
A cut cell's plate (Table) |
Fades in over base on ease-out, out at 0.75× on ease-in; it never scales, because a scale would move the text. Decided by the council (DECISIONS 138) and approved by the owner (DECISIONS 139); the implementation has not been reviewed. |
It only fades, as it always does |
TravelSpinner |
Opt in. After you accept work, the spinner moves to where that work now lives, by transform on slower and ease-in-out: a move between two resting places that the eye has to follow (a longer traveller crossing a figure uses the travel timing). |
It appears at the destination with a 100ms fade |
Reflow |
A list or grid that is filtered or sorted: items move by transform to their places over slow on ease-out, arrivals fade, leavers fade at 0.75 of fast on ease-in, the box's height glides. |
Items and the box take their places at once; arrivals fade over 100ms |
LoopsToggle |
The hold on every loop, as an icon toggle (LoopsToggleIcon, named by its title alone), a pressed Button (also the narrow menu's first row) or a Switch, named "Pause animations". |
No motion of its own |
Narrow menu (SiteHeader) |
Sheet side="top": the band is there at once and the list unrolls beneath it as a clip over slower on ease-out; leaves at 0.75 on ease-in; Menu morphs to Close over slow. |
Opacity only, 100ms |
Clear bar (SiteHeader over a Stage) |
Fill and line fade in over duration-base on ease-out and out at 0.75 on ease-in; the blur switches at once; a departure first reported past the headroom's slack, and the page opening at the top, switch all of it at once. |
A 100ms fade |
FramedArt |
The art fades in over duration-base on ease-out once decoded. |
A 100ms fade |
| Toast | Enters on duration-slow and ease-out, leaves at 0.75 on ease-in. Running work shows braille in the mark seat and updates the same toast in place to its result: the title never moves, because the seat is kept. Swipe is Base UI's 40px, by distance alone, with no spring. |
Opacity only, at the resting offsets |
| Toast drain | A countdown, not a loop, so the hold does not stop it. A 1px line, drawn on the straight part of the bottom rim, shrinks for the timeout (only a toast that is not the only copy of what it says has one). Hover, focus, a blurred window and a hidden tab pause it and the toast's own clock together. No glow. | The line is not drawn |
CommandMenu |
cmdk filters and selects. It loads the first time the menu opens, so an app that never opens one does not download it. No open or close animation. | No extra motion |
DisclosureRow |
The chevron morphs from right to down (a rotation group) over slow; the detail opens by height over slow on ease-out and closes at 0.75 on ease-in. Hover lifts the ink over fast, in at once. |
The detail is there at once; the chevron swaps |
The entry you came to (arrived) |
Its plate (or a panel's wash) and its word come at once, and go over 0.75 of slow on ease-in when the reader acts. Nothing moves: the plate is behind the entry and the word's room is kept. |
The same fade (colour and opacity only) |
LivePreview |
The draft is shown in a panel before Save commits it. | The preview text changes in place |
SharedElement was withdrawn from the public API by the panel: nothing in Basalt needs an element to keep its identity across places. It remains as an internal module.
NumberTicker rolls tabular digits on duration-slow. Text tabular is the figures without the roll. loading on a button keeps the label's width and the variant colour. A press whose handler returns a promise waits for it: busy from the press, its ring (or a TextButton's breathing dashed underline) after 300ms and for at least 400ms, and a field being written (writing) takes the skeleton's pulse on its fill on the same two timings (see foundations).