Browse components
Dark Veil
A dark, moody veil of slowly folding noise with a soft color tint and film grain. WebGL.
Dark Veil
Installation
npx shadcn@latest add @glint-ui/dark-veilFirst 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/dark-veil.json
Usage
import { DarkVeil } from "@/components/ui/dark-veil";
<div className="relative h-96">
<DarkVeil color="#7c5cff" />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color | string | "#7c5cff" | Tint of the veil folds. |
| speed | number | 1 | Flow speed multiplier. |
| scale | number | 1 | Size of the folds. |
| intensity | number | 1 | Brightness of the folds. |
| grain | number | 0.05 | Film grain amount. |
| className | string | — | Extra classes for the root element. |