Skip to content

    Browse components

    Strip Gradient

    A flowing wave gradient cut into horizontal strips that glide sideways independently. WebGL.

    Strip Gradient

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/strip-gradient

    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/strip-gradient.json

    Usage

    import { StripGradient } from "@/components/ui/strip-gradient";
    
    <div className="relative h-96">
      <StripGradient slices={14} />
    </div>

    Props

    PropTypeDefaultDescription
    colorAstring"#0ea5e9"First palette color.
    colorBstring"#8b5cf6"Second palette color.
    colorCstring"#f43f5e"Third palette color.
    speednumber1Animation speed multiplier.
    slicesnumber14Number of strips.
    shiftnumber1How far strips slide.
    scalenumber1Wave zoom.
    classNamestring—Extra classes for the root element.