Skip to content

    Browse components

    White Stripes

    Layers of satin-shaded diagonal stripes drift at different speeds, casting soft shadows with cursor parallax. WebGL.

    White Stripes

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/white-stripes

    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/white-stripes.json

    Usage

    import { WhiteStripes } from "@/components/ui/white-stripes";
    
    <div className="relative h-96">
      <WhiteStripes angle={35} />
    </div>

    Props

    PropTypeDefaultDescription
    colorstring"#ffffff"Stripe color.
    speednumber1Drift speed multiplier.
    scalenumber1Stripe density.
    anglenumber35Stripe angle in degrees.
    opacitynumber0.85Overall opacity.
    parallaxbooleantrueLayers shift with the cursor.
    classNamestring—Extra classes for the root element.