Magnetic
A pointer-aware magnetic wrapper with bounded pull strength, self or parent interaction areas, and reduced-motion support.

- Library
- Sona UI
- Framework
- React
- Type
- ui
- License
- MIT
- Dependencies
- motion
- Install
npx shadcn@latest add @sona-ui/magnetic-button- Files
src/registry/sonaui/magnetic-button/magnetic-button.tsxsrc/registry/sonaui/sona-utils/sona-utils.tssrc/lib/sona-utils.ts
- Source
- https://github.com/Dinil-Thilakarathne/sona-ui
Categories
- Action Components
- React Action Components
- Tailwind CSS Action Components
- Animated Action Components
- Button Components
- React Button Components
- Tailwind CSS Button Components
- Animated Button Components