Animations & Motion
String Theory
Verlet integration rope physics with smooth following motion.
cursormagneticstringropephysics
Props
Customize the component with these props
| Property | Type | Default | Description |
|---|---|---|---|
backgroundColor | string | bg-zinc-950 | Background color of the component |
title | string | String Theory | Title text displayed |
buttonText | string | Hover Me | Text on the hover button |
particleCount | number | 20 | Number of particles in the string |
inactiveColor | string | #e4e4e7 | Color when inactive |
activeColor | string | #f472b6 | Color when active |
inactiveWidth | number | 2 | Line width when inactive |
activeWidth | number | 4 | Line width when active |
followSpeed | number | 0.4 | Speed at which particles follow cursor |
className | string | Additional CSS classes |