Wrap the headline and pass the font file of its face.
hero.tsx
TextRunningStitch
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | A string, or the parts TextEmbroideryContent and TextEmbroideryCanvas. |
| locale | string | — | The BCP 47 locale of the text, for the case of text-transform on the canvas. Default: the DisplayLocaleProvider locale, else "en-US". |
| font | string | — | A TTF, OTF, or WOFF file of the face the text shows (WOFF2 cannot be read). With none, or a file of another face, the text stays plain. |
| trigger | "mount""view" | — | When it sews: view (default) the first time it shows, or mount. |
| animated | boolean | — | False shows the finished embroidery at once, with no sewing. Default true. |
| on | — | Called when the last thread is sewn (or at once, when the text stays plain). | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |









