Skip to content

    Browse components

    Halo Rings

    Concentric glowing rings spin at their own pace, breathe, and bend toward the cursor.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/halo-rings

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/halo-rings.json

    Usage

    import { HaloRings } from "@/components/ui/halo-rings";
    
    <div className="relative h-96">
      <HaloRings rings={7} />
    </div>

    Props

    PropTypeDefaultDescription
    ringsnumber7Number of rings.
    colorFromstring"#22d3ee"Innermost ring color.
    colorTostring"#a855f7"Outermost ring color.
    speednumber1Rotation speed multiplier.
    pullnumber34Px the rings bend toward the cursor.
    lineWidthnumber2Stroke width in px.
    classNamestring—Extra classes for the root element.