# default

const in `@dioramajs/text/rotator`

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

Words take turns in a phrase on the faces of a real 3D shape: a cube or a drum that rolls to
the next word, a split flap falling over its hinge or a strip folding into the page, lit from
above and seen in perspective. The box eases to the width of the next word; between turns the
word is plain DOM text.

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

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