ONONC

Magnetic Text

Each letter is pulled toward the cursor like iron filings to a magnet.

pointer

Styled with ONONC's design tokens shadcn add installs them for you.

Customize

Text
Pull14px
Radius150px

Props

PropTypeDefaultDescription
text*stringThe text to animate.
pullnumber14Maximum pixel displacement toward the cursor.
radiusnumber150Radius of magnetic influence.
classNamestringExtra classes.