@brickslab/ui-web
Gradient mesh with subtle noise and grain texture effect using canvas
Props
| Prop | Type | Défaut | Requis | Description |
|---|---|---|---|---|
colors | string[] | ["#FF6B6B", "#4ECDC4", "#45B7D1"] | — | Array of colors for the gradient mesh |
noise | number | 0.4 | — | Intensity of noise texture (0-1) |
grainSize | number | 2 | — | Size of grain particles |
animate | boolean | true | — | Enable animation |
speed | number | 6 | — | Animation speed in seconds |
Usage
Variations
Warm Colors High Noise
Cool Colors Low Noise