# Error page

A full-page error: the status large, what happened in plain words and a way out. PlankUI component for React 19 and Tailwind CSS v4. Category: Blocks.

## Install

```bash
npx plankui@latest add error-page
```

## Usage

```tsx
import { ErrorPage } from "@/components/ui/error-page";

<ErrorPage code={404} actions={<Button asChild><a href="/">Home</a></Button>} />
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| code | `string \| number` | `404` | The status. 404, 500 and 403 come with their own title and text. |
| title / description | `string / ReactNode` |  | Override the default words. |
| actions | `ReactNode` |  | Ways out, such as Home and Go back. |

Source: https://github.com/VectorLabsHQ/plankui/blob/main/components/ui/error-page.tsx
