Raft Design System

Foundations

Motion

The durations and easing for press, hover, slides, a drag settling and avatar changes, and the rule that ordinary status stays still.

Motion in Raft confirms an action or shows where something came from. It never decorates, and ordinary status never moves on its own: a screen people watch for hours stays still.

Principles

  • Status doesn't loop. A working agent is a still yellow light. The only looping animation in the working product is the pixel spinner while something loads, and it goes away as soon as loading ends. The loading exception is pull to refresh on Android web, which draws Android's own turning arc while it refreshes (PullToRefresh).
  • Ottie is a bounded illustration exception. In the dedicated recent-activity card, Ottie may rest with a very slight breath or type occasionally, following the approved character study. Error and completion play a short action once. This makes the card friendly without animating presence lights, avatars, activity summaries or working lines. The assistant's Ottie, docked on the composer or a pane's edge, has the same allowance: asleep (nothing new), it breathes slowly (3.4s, at most a 4.5% stretch) and small z's float up and fade; something new pops it out once, with two small bobs and never a sideways sway. It is a character, not a status light: what is new is told by that one pop, never by the loop (Artea, 2026-11-10, #proj-assistant:#24; slock #13752). Pause outside the viewport and in hidden documents; reduced motion shows a still, with one still z for Ottie asleep. See Steps: Ottie illustration.
  • Press doesn't move. Hover and press add an overlay; nothing shifts or scales.
  • Hover and press keep up with the pointer. They change at once, with no fade in or out: the overlay, an action a hover reveals, the color of a × or of an underline. Hover says where the pointer is now, so it can't lag behind it; a fade drew a trail of half-tinted rows behind a mouse crossing a list or a menu, and one part of a message fading while the message itself changed at once read as two different products (stdrc, 2026-11-20, #proj-raft-ui:0cf185b9). It is the rule for every other thing that is already in place: a dialog appears without animation, a column changes width at once. The native menus and lists of macOS and Windows also change at once.
  • Reduced motion stops everything. With prefers-reduced-motion, every animation on this page is off.

Easing

ease-slide is the easing curve for things that move: slides, sheets and changes to an avatar stack. A drag settling has its own, ease-drag-settle (motion-drag-settle-easing), an ease-out that leaves the hand fast and lands softly.

TokenLightDark
motion-drag-settle-durationA drag settling: the lifted copy gliding into its place on a drop or back home on a cancel, siblings sliding apart to open the place, and a layout reflowing on a drop.160ms160ms
motion-drag-settle-easingThe ease-out of drag-settle-duration: fast off the hand, slow into place.cubic-bezier(0.25, 1, 0.5, 1)cubic-bezier(0.25, 1, 0.5, 1)

Usage

MotionHowDuration
Press and hoverLay the hover tier's overlay over the control (Hover and press), and show what a hover reveals. Don't change the fill, move or scale it, and don't fade it: no transition-colors, transition-all or opacity transition on a hover or a pressNone
Slides and sheetsease-slide220ms to 380ms
A phone sheet whose content changes height, such as the next step of a flow: it grows or shrinks to the new height, its top edge moving (Dialog). A change of the window or the keyboard isn't animatedease-slide200ms
A page pushed or popped on a phoneThe platform's default transition, on phone web, iOS and Android alike (Navigation)The platform's
The tab bar coming back when the keyboard closesThe platform's default transition, never an instant jump (MobileNav). The tab bar doesn't move while a page scrollsThe platform's
A drag settling: the lifted copy gliding into its place on a drop, or back home on a cancel; siblings sliding apart to open the place; a layout reflowing on a drop, in step with the glide (Drag and drop)motion-drag-settle-easingmotion-drag-settle-duration, 160ms
A conversation dragged left to show its times (Conversation): under the finger the rows follow it 1:1 from where it went down (the distance before the drag is claimed counts, so they never lag it or jump) up to 64px, then at 0.55 of its travel (a rubber band), to at most about 88px, and spring back on release. With reduced motion nothing slides: each merged message's time fades in in its empty left gutter while the drag is claimed, and out on release, color only; a group's first row keeps its header time, and nothing is drawn over textThe spring back motion-drag-settle-easing; the fade linearmotion-drag-settle-duration, 160ms, for both
Someone joins or leaves an avatar stackThe faces slide apart and fade in or out, with ease-slide. Not the faces that show who has read a message: they change without animation (Conversation)180ms to 220ms
The item a jump lands on (located)info-soft at once, held 1.2s, then faded out with ease-out; with reduced motion held still for 2s and then off (Located)2s in all
A completed task leaving its group: it stays in place, struck through, then moves into the collapsed Done group (Completing a task)Held still, then moved with no transition; with reduced motion it moves at once650ms
Text and numbers that changeReplace the text. Don't roll the digitsNone
Brand moments (setup only)Once, never looping: on the last setup step the agent's avatar hops in and two square marks pop beside it and fade; on the page that creates a server, the workspace button in the preview pops when its name changes580ms; 180ms
  • Show hover only on devices with a pointer (@media (hover: hover)).
  • Scrollbars are the one thing a hover fades in: with trigger="hover" they fade in over 120ms, as the system's overlay scrollbars do (ScrollArea). They are not the hover state of what is under the pointer, only the way to scroll it.
  • Don't float or tilt the large avatar on a profile. It stays still.
  • Centered overlays (dialogs, confirmations, search, task details, large forms) get the scrim and appear and disappear without animation: they are already in place and don't come from anywhere. Of the overlays, only the drawer and the bottom sheet slide in, because the slide shows which edge they came from; on a phone that includes a dialog with fields, which is a sheet there (Dialog). The rule is the same for every centered overlay, so don't give one of them an animation of its own.
  • The app's columns change without animation: collapsing or expanding the sidebar (by its toggle or by dragging past the end), expanding a column or restoring the row, the thread folding over the conversation or standing beside it again, and a column becoming a tab or a column again. They switch at once, because animating a whole column's position or width flickers (AppShell, Resizable).
  • A scrim moves with its surface: under a centered overlay it appears at once; under a drawer or a bottom sheet it fades in over the same time and with the same easing as the slide, and out as the surface leaves, so the page doesn't go dark in one step while the panel is still on its way. With reduced motion it appears at once. See Choosing a component.
  • States: the hover tiers.
  • Drag and drop: the drop and cancel glide.
  • Haptics: the vibrations that land on the same frame as an animation.
  • Working agents: how working agents are shown without animation.
  • Brand: where brand illustration is allowed.