---
title: Page Container
description: A container component that provides consistent max-width and padding based on size variants.
fragment: true
---
## Usage
```tsx
import { PageContainer } from 'ui-patterns/PageContainer'
```
```tsx
{/* Page content */}
```
## Size Variants
The `PageContainer` supports four size variants:
- `small` - max-width: 768px
- `default` - max-width: 1200px
- `large` - max-width: 1600px
- `full` - no max-width constraint
Use `small` or `default` for most pages. Use `full` for dense page experiences such as logs, code, editors, charts, or tables that need the viewport width.