# default

const in `@dioramajs/media/stack`

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

The images of a container as a pile of cards. A drag, a swipe, a click or a key throws the top
card off and brings the next one forward. Fires `dio:index` on the container when a card is on
top.

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

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