Skip to content

    Browse components

    Helix Cards

    Cards wound around an endless 3D helix that keeps turning, and spins faster when you scroll or drag.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/helix-cards

    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/helix-cards.json

    Usage

    import { HelixCards } from "@/components/ui/helix-cards";
    
    <div className="h-[32rem]">
      <HelixCards images={photos} radius={300} />
    </div>

    Props

    PropTypeDefaultDescription
    imagesReactNode—Array of image URLs.
    countnumber30Cards on the spiral; images repeat.
    radiusnumber300Spiral radius in px.
    stepnumber30Degrees between neighbouring cards.
    pitchnumber30Vertical px between neighbouring cards.
    cardWidthnumber150Card width in px.
    speednumber0.8Idle rotation in cards per second.
    classNamestring—Extra classes for the root element.