@brickslab/ui-web
Static SVG dot matrix pattern with configurable dot size gap and opacity
Props
| Prop | Type | Défaut | Requis | Description |
|---|---|---|---|---|
dotWeight | ""very-thin" | "thin" | "medium"" | "medium" | — | Preset simple pour l'épaisseur des points |
dotSize | number | undefined | — | Taille custom des points (prioritaire sur dotWeight) |
gap | number | 20 | — | Space between dots in pixels |
offset | number | 0 | — | Initial offset of the dot pattern |
opacity | number | 0.5 | — | Opacity of the dots (0-1) |
color | string | "rgba(255, 255, 255, 0.5)" | — | Color of the dots |
Usage
Variations
Points Très Fins
Points Fins
Points Moyens