default const
Letters react to the pointer like magnets in 3D: they are thin lit slabs that push away and turn their faces from it, lean toward it, rise toward the viewer like a dock, or tumble apart, casting soft shadows on the page.
import { default } from '@dioramajs/text/magnet'. Each letter rides a spring, so it wobbles back into place when the pointer leaves. At rest the element is plain DOM text.
const default: Effect<Params>Defined in packages/text/src/magnet.ts.