Motion
Motion explains a change: a row grows into place, a number rolls to its new value, a dialog rises from where you opened it. It follows real work, never a timer pretending, and it plays once: nothing replays when a page redraws.
Every move takes its time and curve from the foundation: --ns-time-menu, --ns-time-dialog and --ns-time-page for how long, --ns-ease for settling, --ns-ease-pop for a single overshoot and --ns-ease-panel for surfaces. Retune one on :root and every component follows.
Asking for less
- Reduced motion: with the system setting on, moves fade instead of travelling, and a value that rolls lands at once. Every change still shows; nothing slides, scales or shakes.
- On any device:
data-motion="reduced"on the root does the same, for screenshots, tests and print.data-motion="full"keeps full motion where a demo needs it.
app/layout.tsx
<html lang="en" data-motion="reduced">Next: AI guides and MCP.