Components
Loading preview...
Features: Fully customizable props: count: Number of animated circles (default: 100) size: Size in vmin units (default: 80) duration: Animation duration in seconds (default: 4) hue: Base hue for color rotation (default: 240) className: Additional CSS classes for styling Responsive design: Uses vmin units to maintain proportions across different screen sizes Performance optimized: Uses CSS custom properties and hardware-accelerated transforms Tailwind integration: Uses Tailwind classes where possible while maintaining the complex CSS animations Key Changes: Component structure: Created a reusable RadialAnimation component with props Tailwind classes: Used Tailwind for layout (flex, items-center, justify-center, etc.) and colors (bg-slate-900) Dynamic generation: Uses Array.from() to generate the circles programmatically
npx shadcn@latest add https://21st.dev/r/uniquesonu/radial-animated-doodleimport RadialAnimation from "@/components/ui/radial-animated-doodle";
export default function DemoOne() {
return <RadialAnimation />;
}