Dev Design Library

Magnet Lines

Lines turn toward your cursor like iron filings near a magnet.

Magnet Lines preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/magnet-lines.json
Files
  • src/lab/components/magnet-lines.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab