Dev Design Library

Dodge Field

Wrapper that makes any child flee the pointer inside a bounded field, dodges once per approach, then relents after a few tries and glides home.

Dodge Field preview
Library
React Bits
Framework
React
Type
component
License
Commons-Clause+MIT
Install
npx shadcn@latest add @react-bits/DodgeField
Files
  • src/content/Micro/DodgeField/DodgeField.css
  • src/content/Micro/DodgeField/DodgeField.jsx
Source
https://github.com/DavidHDev/react-bits

Categories

More from React Bits