# StackStyle

type in `@dioramajs/media/stack`

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

How the cards lie under the top one.

```ts
type StackStyle = 'pile' | 'fan' | 'cascade'
```

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