Skip to content

    Browse components

    Social Orbit

    An avatar with social links circling it on two counter-rotating rings, upright icons, brand-colored hovers and tooltip labels; pauses on hover.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/social-orbit

    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/social-orbit.json

    Usage

    import { SocialOrbit } from "@/components/ui/social-orbit";
    
    <SocialOrbit
      avatar="/me.jpg"
      name="Ana Reyes"
      items={[
        { label: "GitHub", href: "https://github.com/ana", icon: <GitHubIcon />, color: "#6e40c9" },
        { label: "X", href: "https://x.com/ana", icon: <XIcon />, color: "#0f1419" },
      ]}
    />

    Props

    PropTypeDefaultDescription
    avatarstring—Avatar image URL.
    namestring—Person's name, used as the avatar alt text.
    itemsReactNode—Array of { label, href, icon, color? }. First half orbits the inner ring.
    innerRadiusnumber95Inner ring radius in px.
    outerRadiusnumber160Outer ring radius in px.
    speednumber1Orbit speed multiplier; 0 stops it.
    pauseOnHoverbooleantruePause while hovered or focused.
    showRingsbooleantrueDraw the dashed orbit paths.
    accentstring"#a3e635"Avatar halo and glow color.
    classNamestring—Extra classes for the root element.