Grass Airdrop · Animations

Chakra UI v2 · Next.js · TypeScript. View & copy the source for each animation below.

Shared setup

Every component below imports keyframes from one file and reads tokens from the Chakra theme. Grab these two first, then any component.

Cinematic claim

The signature moment: points count down while USDC counts up, source chips pop in on a stagger, each arrival re-triggers a scale tick.

234 lines

Success confetti

Falling confetti rains behind a counting-up USDC figure. Deterministic layout, so it's SSR-safe.

210 lines

Count up

requestAnimationFrame integer count with a cubic ease-out. Tabular figures, Inter.

0

75 lines

Draw-on line chart

The line draws via animated stroke-dashoffset, the fill fades in, then the live dot pulses (animating the SVG r attribute).

133 lines

Skeleton shimmer

200%-wide gradient swept by the shimmer keyframe. Mode-aware.

27 lines

Fade-up reveal

Opacity + 8px rise on mount. Used for panels, error strips, toasts.

Your snapshot is ready — 48,230 points eligible.

31 lines

Floaty arrow & spinner

Continuous loops: the conversion arrow bobs (floaty); the loader spins.

45 lines

Pop modal

Backdrop fades in; the card springs in with an overshoot ease.

74 lines