# Rotation reference

Clockwise rotation in degrees, relative to the page's natural orientation.

## Used by

- [Rotation](https://react-pdf-viewer-chi.vercel.app/react-pdf-viewer/rotation.md)

## Import

```ts
import type { Rotation } from '@kingtech/react-pdf-viewer';
```

Signature: `type Rotation = 0 | 90 | 180 | 270`

## Properties

| Name | Type | Default | Required | Description |
| --- | --- | --- | --- | --- |
| `0` | `0` | — | No | Upright (the page's natural orientation). |
| `90` | `90` | — | No | A quarter turn clockwise. |
| `180` | `180` | — | No | Upside down. |
| `270` | `270` | — | No | A quarter turn counter-clockwise. |

## Source

[packages/react-pdf-viewer/src/types.ts](https://github.com/kiralygyula92/react-pdf-viewer/blob/main/packages/react-pdf-viewer/src/types.ts#L18)

