Wrap the text of a heading. Draw the next line with delay.
The sample also uses Button. One command adds them with this item:
studio-hero.tsx
TextStrokeDraw
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| locale | string | — | The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US". |
| children | string | — | The text: a heading, a word, a logo. It wraps between words, as plain text does. |
| trigger | "mount""view" | "view" | When the outline draws: view (default) the first time it is on screen, mount at once. |
| delay | number | 0 | Seconds to wait before it draws. Default 0. |
| fill | boolean | true | Fill the letters after the outline is drawn. Default true; false keeps the outline only. |
| stroke | number | 1.5 | The outline width in px. Default 1.5. |
| on | — | Called when the outline (and the fill) are done. | |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |







