Skip to Content
SmartUI

Motion

Motion explains what changed. It is short, and it can be turned off.

Durations

TokenValueUsed for
--sui-duration-fast120 msHover, press, check marks, color changes
--sui-duration-base200 msSwitches, segment indicators, menus, tooltips, toasts
--sui-duration-slow320 msSheets, dialogs, sidebar collapse, accordion content

Easing

One main curve for everything that enters or moves: --sui-ease, cubic-bezier(0.32, 0.72, 0, 1). It starts fast and settles gently. Spinners and skeletons use linear timing.

Try it

Every component on this site is live. Press, hover and tab through them.

Motion per component

ComponentMotionDuration
Button, Icon ButtonColor on hover; darker and scaled to 0.98 while pressed120
Checkbox, RadioFill and mark appear120
SwitchThumb slides, track changes color200
Segmented, Tabs, DockThe indicator slides to the new selection200 to 250
Field, SelectAccent border and focus ring appear120
AccordionContent height grows, chevron turns250
Menu, Popover, Tooltip, CommandFade and scale from 96%200
DialogScrim fades, surface scales from 96%200
SheetSlides in from its edge320
ToastRises in, fades out200
SidebarWidth changes between 264 and 68250
ProgressFill grows to the new value320

Reduced motion

When the user asks for reduced motion, all durations collapse to an instant change and the skeleton pulse stops. No information is carried by motion alone.

On this page