Wrap the text of a heading. Set trigger="hover" in a link or a button.
The sample also uses Button. One command adds them with this item:
not-found.tsx
TextNoiseGlitch
<div>| 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. | |
| pause | boolean | — | Hold the motion while a mouse is over the item, or keyboard focus is on the link or button around it (or in it). Default true. |
| children | string | — | The text, such as a heading or a product name. |
| trigger | "hover""loop""mount""view" | — | When it glitches: loop (short bursts with a gap, default), hover (while a pointer is over it, or the keyboard focuses the link or button around it), mount (one burst at once), or view (one burst the first time it is on screen). |
| interval | number | — | Seconds between two bursts of a loop, ±40%. Default 4, at least 1.5. |
| intensity | "default""strong""subtle" | — | How far the pieces move: subtle, default, or strong. |
| seed | number | — | The seed of the frames and the gaps. Default: from the text, so each text has its own. |
| locale | string | — | The BCP 47 locale for the letter split of a look with letters (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US". |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
| Tab | With trigger="hover", keyboard focus on the link or button around the text starts the glitch. With a loop, the focus holds it. |
|---|















