Components
Loading preview...
You can customize colors, spacing, dot size, repel force, and other parameters through props, and it includes proper cleanup and responsive behavior.
npx shadcn@latest add https://21st.dev/r/designali-in/interactive-dotsimport { InteractiveDots } from "@/components/ui/interactive-dots";
export default function DemoOne() {
return (
<div className="relative flex h-full w-full flex-col items-center justify-center overflow-hidden ">
<InteractiveDots spacing={20} dotRadius={9}/>
<span className="pointer-events-none -z-10 text-center text-7xl leading-none font-semibold tracking-tighter whitespace-pre-wrap">
Interactive Dots
</span>
</div>
)
}