# Panel

Groups content on a surface. Never a panel inside a panel.

Import from `@a31labs/rax/panel`.

## Usage

```tsx
<Panel title="Billing" description="Plan and invoices" actions={<Button size="sm">Edit</Button>} footer={<Button>Save</Button>}>…</Panel>
```

## Rules

Props: `title`, `description`, `actions`, `footer`, `flush`, `icon` (a lucide icon before the title) and `iconTone` (`accent` default | `accent-2` | `ok` | `warn` | `danger` | `neutral`). The icon is optional, plain, 20px, in the tone colour mixed with a little ink, on the title line 10px before the title; the description lines up under the title text. Surface fill, 1px `line` border, radius 10px, no shadow. Head and footer on surface-2; footer actions right-aligned, a destructive action left. Never a panel inside a panel.

Page: https://rax.a31.at/components/panel
