Back to Components
Backgrounds
Particle Field
Interactive particle field with floating particles that respond to mouse movement. Optional connection lines for a network effect.
Interactive Particles
Dependencies
- framer-motion
- clsx
- tailwind-merge
Files
- components/ui/particle-field.tsx
Installation
Using shadcn CLI
npx shadcn add particle-field --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install framer-motion clsx tailwind-merge