Text Halo

A ring of text orbiting your content in 3D, like a planet's ring. The far side passes behind, dimmed. Pure CSS.

v0

Installation

Full Setup guide

Install the component automatically via Shadcn CLI.

npx shadcn@latest add https://www.grettech.com/api/registry/text-halo

Other Examples

Compact Halo

v0

Props

PropTypeDefaultDescription
text*
string-Text on the ring, repeated to fill it. Also the accessible name.
separator
string" • "Placed between repeats.
children
React.ReactNode-Content inside the ring, e.g. a logo or an orb.
radius
number170Ring radius in px.
tilt
number16Ring tilt toward the viewer, in degrees.
duration
number18Seconds per revolution.
reverse
booleanfalseSpin the other way.
fontSize
number16Letter size in px.
pauseOnHover
booleantruePause while hovered.
textClassName
string-Classes for the ring's letters, e.g. a colour or font.
className
string-Extra classes for the root element.
...props
React.HTMLAttributes<HTMLDivElement>-Any other attributes, passed to the root element.