# default

const in `@dioramajs/text/counter`

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

A number counts up to its value when it comes into view, on real 3D mechanics: digits on
odometer drums, on deep slot reels behind a window, or on flip cards. The drums and cards fold
back into the text when they land: the DOM text never changes, and at rest it is the element.

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

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