Skip to content

    Browse components

    Ellipse Photos

    Photos circle a tilted ellipse in pseudo-3D, scaling and dimming with depth, and glide to a stop on hover.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/ellipse-photos

    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/ellipse-photos.json

    Usage

    import { EllipsePhotos } from "@/components/ui/ellipse-photos";
    
    <EllipsePhotos images={photos} className="h-96 w-full">
      <h2>Our community</h2>
    </EllipsePhotos>

    Props

    PropTypeDefaultDescription
    imagesstring[]—Image URLs placed evenly around the orbit.
    childrenReactNode—Content in the middle of the orbit.
    radiusnumber320Horizontal orbit radius in px.
    tiltnumber64Orbit plane tilt in degrees.
    durationnumber28Seconds per revolution; negative reverses.
    sizenumber110Image width in px.
    pauseOnHoverbooleantrueEase to a stop while hovered.
    classNamestring—Extra classes for the root element.