Give the photos, then the word in the Content part.
team-heading.tsx
TextMosaic
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | A string, or the parts TextMosaicContent and TextMosaicCanvas. |
| photos | readonly string[] | — | The photo URLs the tiles show, in any number (8 to 16 read best). The item ships no photos: pass your own. A photo that fails to load is left out; with none the text stays plain. |
| 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". |
| trigger | "hover""mount""view" | "view" | When the tiles sort in: view (default) once, the first time it shows; mount once, at once; hover while a pointer is over it or keyboard focus is on it (or the link around it), and back to the plain text when it leaves. |
| built | boolean | — | True builds the mosaic, false goes back to the plain text, on top of the trigger. |
| on | — | Called when the tiles rest in the letters, or the text is plain again. | |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TextMosaicContent
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TextMosaicCanvas
<canvas>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <canvas> attributes | — | Every other attribute goes to the <canvas>, with a ref. |









