FILL ME UP
Hover to fill- Real, unsplit text.
- Outline-only text is hard to read, so it fills as soon as it is visible by default.
- Forced-colours mode shows plain text.
- prefers-reduced-motion: reduce (or data-rad-fx-motion="reduce" on an ancestor) shows the text already filled.
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | The text. |
as | 'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'span' | Element to render. |
color | string | '#f4f4f5' | Fill and outline colour. |
trigger | 'inView' | 'hover' | 'inView' | When to fill. |