Repeat a short line to fill the circle, put an icon in the middle, and wrap it in a link when a press does something.
scroll-badge.tsx
TextCircular
<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. |
| text | string | — | The text on the circle. End it with a separator ("Scroll down • ") so the loop reads well. |
| children | ReactNode | — | Content in the middle of the circle, such as an icon or a logo. |
| duration | number | 20 | Seconds for one turn. 0 stops it. Default 20. |
| reverse | boolean | false | Turn the other way (counterclockwise). |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
| Tab | Focus on a link or a button around the badge, or on a control in its middle, holds the turn until the focus leaves. |
|---|



