# default

const in `@dioramajs/media/compare`

```ts
import { default } from '@dioramajs/media/compare'
```

Before and after: two images of a container in one box, split by a line the visitor drags,
hovers or scrolls, or seen through a lens. The site's range input stays the keyboard control.

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

Defined in [packages/media/src/compare.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/media/src/compare.ts#L94).
