Shader Background
An interactive WebGL2 background painted with the active style's colors. Four presets: Press, Satin, Relief and Signal. Follows the pointer, ripples on click.
OriginalsDumb extras
Needs the @dumb registry in components.json and the style tokens. See Installation.
API reference
Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.
ShaderBackground
| Prop | Type | Default |
|---|---|---|
| presetextra | "press" | "satin" | "relief" | "signal"Pattern. Defaults to the one matching the nearest data-style. | - |
| interactiveextra | booleanFollow the pointer over the parent element; click for a ripple. | true |
| speedextra | numberAnimation speed. 0 renders a still frame. | 1 |
| intensityextra | numberPattern strength, 0 to 1. | 1 |