DotPattern
Dot background pattern with mouse-interactive variant.
Preview
Dot Pattern
Installation
bash
npx auralix-ui add dot-patternUsage
Dot Background
tsx
import { DotPattern, AnimatedDotPattern } from "@/components/ui/DotPattern";
<div className="relative h-64">
<DotPattern />
</div>Props
| Name | Type | Default | Description |
|---|---|---|---|
size | number | 24 | Spacing between dots. |
radius | number | 1 | Dot radius. |
fade | boolean | true | Apply radial fade. |
On this page