# default

const in `@dioramajs/text/magnet`

```ts
import { default } from '@dioramajs/text/magnet'
```

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.

```ts
const default: Effect<Params>
```

Defined in [packages/text/src/magnet.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/magnet.ts#L135).
