Animation Wrapper
One CSS move on anything. Every move stops for people who ask for less motion.
Preview
step60pulsefloatfade-upfade-inslide-in-rightdrawhover-lifthover-glowDuration
Every move stops for people who ask their device for less motion.
Usage
import { AnimationWrapper, ZostelSymbol } from "zostel-ui";
<AnimationWrapper animation="step60"> {/* the symbol's own move: 60° clicks */}
<ZostelSymbol size={48} />
</AnimationWrapper>
<AnimationWrapper animation="fade-up" delay={120}>…</AnimationWrapper>Props
| Prop | Type | Default | Description |
|---|---|---|---|
animation | "step60" | "pulse" | "float" | "rotate" | "fade-up" | "fade-in" | "slide-in-right" | "draw" | "hover-lift" | "hover-glow" | "shimmer" | "fade-up" | step60 turns in 60° clicks (the brand’s steps(6)); draw needs a stroked SVG; hover-glow is a flat Warm Orange ring — the brand never glows. |
delay | number | — | ms before it starts. |
duration | string | — | A CSS time, e.g. "600ms". |
className | string | — | More classes, merged with the component’s own (tailwind-merge). |
animation"step60" | "pulse" | "float" | "rotate" | "fade-up" | "fade-in" | "slide-in-right" | "draw" | "hover-lift" | "hover-glow" | "shimmer""fade-up"step60 turns in 60° clicks (the brand’s steps(6)); draw needs a stroked SVG; hover-glow is a flat Warm Orange ring — the brand never glows.
delaynumberms before it starts.
durationstringA CSS time, e.g. "600ms".
classNamestringMore classes, merged with the component’s own (tailwind-merge).
Motion tokens
Depart quickly, travel steadily, arrive softly: durations 90 · 180 · 300 · 600 · 1200 · 3600 ms; arrive cubic-bezier(0.16, 1, 0.3, 1); step60 steps(6). See /illustrations.