Component packs › Kinetic Type › Shatter Text

Shatter Text

Click the word and it bursts into sparks that drift, then every particle springs home and it reforms.

Shatter Text is an effect from Kinetic Type, a component pack with 6 components: Headlines that move with meaning. Price: $2 for the whole pack.

Built with: pixel-sampled particles, spring reform, keyboard trigger.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Shatter Text props

PropTypeDefaultDescription
textstring
sizenumber96Font size in px. Default 96.
autoplaybooleanShowcase mode: shatters and reforms on a loop.

Methods on the ref

Use it in React

import ShatterText from './ShatterText';

<ShatterText />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Kinetic Type

Good for: Text animation.