Wrap the brand or product name of a heading. Keep the rest of the page plain.
The sample also uses Badge and Button. One command adds them with this item:
beta-hero.tsx
TextParticle
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| paused | boolean | — | The pause of the user or the page (controlled). |
| default | boolean | — | The first pause when paused is not given (uncontrolled). Default false. |
| on | — | Called when the pause changes. | |
| children | string | — | The text. Large, heavy display text reads best: each letter is a field of particles. |
| gap | number | — | The space between particles in px. Default: the font size / 28, from 2 to 8px. |
| particle | number | — | The particle size in px. Default: 90% of the gap. |
| intro | boolean | true | Gather the particles into the text the first time it shows. Default true. |
| loop | boolean | false | Keep the slow drift going. Default false: the drift stops after 5 seconds, so the GPU rests. paused stops a looping drift. |
| repel | boolean | true | Push the particles away from the pointer. Default true. |
| burst | boolean | true | A press throws the particles out from the press point, and they spring back. Default true. |
| plain | boolean | false | Show the plain text, with no WebGL. |
| on | — | Called when three.js does not load or the WebGL setup fails. The plain text stays. | |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
| Tab | Keyboard focus on the link or button around the text sweeps the push once along the line; with repel={false} it throws the particles from the center. |
|---|







