Skip to content

    Browse components

    Wipe Menu

    Full-width menu rows; hovering one wipes in a marquee of text and images from the edge you entered.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/wipe-menu

    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/wipe-menu.json

    Usage

    import { WipeMenu } from "@/components/ui/wipe-menu";
    
    <div className="h-[28rem]">
      <WipeMenu
        items={[
          { label: "Work", href: "/work", image: "/work.jpg" },
          { label: "Studio", href: "/studio", image: "/studio.jpg" },
        ]}
      />
    </div>

    Props

    PropTypeDefaultDescription
    itemsReactNode—Array of { label, href?, image }.
    speednumber14Seconds for one marquee loop.
    bandColorstring"#d9f75c"Background of the revealed band.
    bandTextColorstring"#0b0d06"Text color inside the band.
    classNamestring—Extra classes for the root element.