# Particle Text

> Text rendered as hundreds of individual particles with real-time physics. Move your mouse near the letters and particles scatter like startled birds, then magnetically spring back into formation. Supports multi-line text, configurable repulsion force, particle size, spring tension, and friction. When idle, an auto-sweep simulation scatters particles across the canvas so the preview is always alive. Particles glow brighter when displaced and form faint connection lines to nearby particles during scatter. Zero external dependencies — pure canvas.

- Author: [Yad Hakim](https://21st.dev/@dev.yadhakim)
- License: unknown
- Live preview: https://21st.dev/@dev.yadhakim/components/particle-text

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/dev.yadhakim/particle-text?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
