Put it inside a heading with the places of the key words in stops. The frame moves on a timer.
The sample also uses Button. One command adds them with this item:
hero-section.tsx
TextDimFocusFrame
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| paused | boolean | — | The pause of the user or the page (controlled). |
| default | boolean | — | The first pause when paused is not given (uncontrolled). Default false. |
| on | — | Called when the pause changes. | |
| pause | boolean | — | Hold the motion while a mouse is over the item, or keyboard focus is on the link or button around it (or in it). Default true. |
| locale | string | — | The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US". |
| children | string | — | The sentence. Screen readers read it as plain text. |
| stops | readonly number[] | — | The words the frame visits, by place among the words (0 is the first word). Default: every word. |
| mode | "auto""manual" | — | auto (default): the frame moves on a timer. manual: it goes to the stop word under the pointer, or to index. |
| index | number | — | The place in stops of the framed word (controlled). |
| default | number | — | The place in stops of the first framed word (uncontrolled). Default 0. |
| on | — | Called when the frame moves to another stop. | |
| interval | number | — | Seconds on each word in auto mode. Default 2. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |







