Skip to content

    Browse components

    Row Slide

    Tilted rows of tiles that slide in alternating directions as the cursor moves across.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/row-slide

    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/row-slide.json

    Usage

    import { RowSlide } from "@/components/ui/row-slide";
    
    <div className="relative h-96">
      <RowSlide items={["/a.jpg", "/b.jpg", "Hello"]} />
    </div>

    Props

    PropTypeDefaultDescription
    itemsstring[][]Image URLs or short labels; repeats to fill the grid. Empty shows numbered tiles.
    rowsnumber4Number of rows.
    columnsnumber7Tiles per row.
    tiltnumber-12Grid rotation in degrees.
    strengthnumber260Max slide in px.
    gapnumber16Gap between tiles in px.
    classNamestring—Extra classes for the root element.