@dioramajs/text/magnet
Exports of @dioramajs/text/magnet.
import { default } from '@dioramajs/text/magnet'Constants
default | 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. Each letter rides a spring, so it wobbles back into place when the pointer leaves. At rest the element is plain DOM text. |