Put the word in the Content part and the Canvas after it.
magnetic-heading.tsx
TextFerrofluid
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | A string, or the parts TextFerrofluidContent and TextFerrofluidCanvas. |
| 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". |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TextFerrofluidContent
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TextFerrofluidCanvas
<canvas>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <canvas> attributes | — | Every other attribute goes to the <canvas>, with a ref. |









