# CoverState

type in `@dioramajs/diorama/transitions`

```ts
import type { CoverState } from '@dioramajs/diorama/transitions'
```

Where the cover is: the page shows, it closes, it hides the page, or it opens.

```ts
type CoverState = 'idle' | 'closing' | 'covered' | 'opening'
```

Also exported from `@dioramajs/transitions/cover`.

Defined in [packages/transitions/src/cover/types.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/transitions/src/cover/types.ts#L8).
