Browse components
White Stripes
Layers of satin-shaded diagonal stripes drift at different speeds, casting soft shadows with cursor parallax. WebGL.
White Stripes
Installation
npx shadcn@latest add @glint-ui/white-stripesFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glint-ui-seven.vercel.app/r/white-stripes.json
Usage
import { WhiteStripes } from "@/components/ui/white-stripes";
<div className="relative h-96">
<WhiteStripes angle={35} />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color | string | "#ffffff" | Stripe color. |
| speed | number | 1 | Drift speed multiplier. |
| scale | number | 1 | Stripe density. |
| angle | number | 35 | Stripe angle in degrees. |
| opacity | number | 0.85 | Overall opacity. |
| parallax | boolean | true | Layers shift with the cursor. |
| className | string | — | Extra classes for the root element. |