# Page API

> Explore the API of Cimpress UI's page component.

Source: https://ui.cimpress.io/components/page/api/

## Import

```tsx
import { UNSTABLE_Page, UNSTABLE_PageContent } from '@cimpress-ui/react';
```

## API reference

### UNSTABLE_Page

**Props: `UNSTABLE_PageProps`**

- `children` (required): `ReactNode`

  The contents of the page.

- `width`: `UNSTABLE_PageWidth`

  The maximum width of page content areas.

  Defaults to `'medium'`.

- `data-cim-style-root`: `boolean`

  Use this attribute to "claim" the component tree for exclusive Cimpress UI usage.

- `UNSAFE_className`: `string`

  Sets the CSS className for the element. Only use as a **last resort**. Use style props instead.

  See [styling guide](https://ui.cimpress.io/dev-guides/styling/).

- `UNSAFE_style`: `CSSProperties`

  Sets the CSS style for the element. Only use as a **last resort**. Use style props instead.

  See [styling guide](https://ui.cimpress.io/dev-guides/styling/).

### UNSTABLE_PageContent

**Props: `UNSTABLE_PageContentProps`**

- `children` (required): `ReactNode`

  The contents of the page content area.

- `id`: `string`

  The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).

- `data-cim-style-root`: `boolean`

  Use this attribute to "claim" the component tree for exclusive Cimpress UI usage.

- `UNSAFE_className`: `string`

  Sets the CSS className for the element. Only use as a **last resort**. Use style props instead.

  See [styling guide](https://ui.cimpress.io/dev-guides/styling/).

- `UNSAFE_style`: `CSSProperties`

  Sets the CSS style for the element. Only use as a **last resort**. Use style props instead.

  See [styling guide](https://ui.cimpress.io/dev-guides/styling/).
