Component packs › Kinetic Type › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | ||
size | number | 96 | Font size in px. Default 96. |
autoplay | boolean | Showcase mode: shatters and reforms on a loop. |
shatter(x?: number, y?: number): voiddestroy(): voidimport ShatterText from './ShatterText';
<ShatterText />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Text animation.