Circular text
Text set around a ring that turns slowly; hover can speed it up, slow it, reverse it or pause it, and a centre slot holds an icon or label.
What it is for
Rotating badge beside a hero heading, a 'scroll down' or 'new' sticker, or a footer seal.
Use it
1 · site.json
"effects": { "components": ["circular-text"] }or on the command line
node ~/.claude/skills/sitewright/scripts/scaffold.mjs --config site.json --out ./my-site --components circular-text2 · import it
import { CircularText } from '@/components/fx/ui';Files
components/fx/ui/CircularText.tsxcomponents/fx/ui/_t2.tscomponents/fx/ui/_text-a-kit.tsui-circular-text.cssstyles
Accessibility
- Keyboard. Components in the kit are written to be reached and used with the keyboard. Try it: press Tab inside the preview.
- Reduced motion. With
prefers-reduced-motionon, animation settles to its finished state at once. - Touch. Pointer-follow effects are skipped on touch screens; controls stay finger-sized.