ui-kit0.0

Foundations

Motion

The soft-rise signature and spring presets.

Soft rise

Our signature: things arrive from 4–8px below, a touch smaller and slightly blurred, and settle in under 400ms with a fast ease-out. Exits are quicker than entrances. Motion explains where something came from; if it explains nothing, it goes.

  • Animate transform, opacity and filter only. Size changes animate only when the size is the information.
  • One orchestrated entrance per view at most (ui-stagger); no scroll reveal on every section.
  • Presses scale to .97; a button that opens a popup answers with colour, because the popup is positioned against it.
  • Anything that reports state (switch thumb, progress, drawer edge) lands without overshoot.
  • Reduced motion keeps the state change and removes the movement.

Spring presets

Real damped-spring curves exported as CSS linear() easings, so they work in plain CSS transitions with no JavaScript. Each has a matching -duration variable (the time the spring needs to settle).

snappy

Presses, small indicators

smooth

Panels, height, drawers — never overshoots

morph

Gliding highlights, width that follows content

ease-out

Entrances (tween, 380ms)

.thumb {
  transition: transform var(--ui-spring-smooth-duration) var(--ui-spring-smooth);
}

Tokens

--ui-duration-instant: 100ms;   --ui-ease-out: cubic-bezier(.22, 1, .36, 1);
--ui-duration-fast:    150ms;   --ui-ease-in:  cubic-bezier(.55, 0, 1, .45);
--ui-duration-exit:    160ms;   --ui-ease-standard: cubic-bezier(.2, 0, 0, 1);
--ui-duration:         220ms;   --ui-spring-snappy | smooth | morph (+ -duration)
--ui-duration-slow:    380ms;   --ui-stagger: 35ms;

Keyframes: ui-rise-in, ui-pop-in / ui-pop-out, ui-fade-in / ui-fade-out, ui-slide-in-* / ui-slide-out-*, ui-spin, ui-shimmer, ui-draw. Tailwind: animate-rise, animate-pop, animate-fade, animate-shimmer. Helpers: ui-animate-rise, ui-stagger.

Stagger

  • Deployment succeeded
  • Preview ready for review
  • Build cache is 82% full
  • Certificate renews in 3 days

ui-stagger rises children in 35ms apart (total under 400ms). Reload the page to see it again.