# Panel Header (Andromeda Legacy)

Panel Header is a component of the free, MIT-licensed Andromeda Legacy design system from AI Canvas (https://aicanvas.me). Index of every system, component and install setup: https://aicanvas.me/llms.txt

Title row for top-level dashboard panels. Sentence-case mono title on the left, optional actions slot on the right (PanelMenu, IconButton, Button). Inset bottom divider.

- Design system: [Andromeda Legacy](https://aicanvas.me/design-systems/andromeda.md)
- License: MIT
- Install slug: `andromeda-panel-header`
- Page: https://aicanvas.me/design-systems/andromeda/panel-header

## Install

```bash
npx shadcn@latest add @aicanvas/andromeda-panel-header
```

Needs a free AI Canvas account; signed out, the command writes a placeholder (an `AccountRequired` notice) instead.

Every Andromeda Legacy component at once: `npx shadcn@latest add @aicanvas/andromeda`.

Token setup: the Install section of https://aicanvas.me/llms.txt.

## Use it

It installs to `components/aicanvas/andromeda/components/PanelHeader.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import { PanelHeader } from '@/components/aicanvas/andromeda/components/PanelHeader'
```

## Example

```tsx
import { PanelHeader } from '@/components/aicanvas/andromeda/components/PanelHeader'
import { Button } from '@/components/aicanvas/andromeda/components/Button'

<PanelHeader title="Deployments" actions={<Button size="sm">New deploy</Button>} />
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `title` | `React.ReactNode` |  | Sentence-case mono title. |
| `actions?` | `React.ReactNode` |  | Right-aligned slot (PanelMenu, IconButton, Button, etc.). |
| `className?` | `string` |  | Additional CSS classes applied to the root element. |
| `style?` | `React.CSSProperties` |  | Inline styles applied to the root element. |

## More Andromeda Legacy components

- [Panel Menu](https://aicanvas.me/design-systems/andromeda/panel-menu.md)
- [Planet](https://aicanvas.me/design-systems/andromeda/planet.md)
- [Progress Bar](https://aicanvas.me/design-systems/andromeda/progress-bar.md)
- [Radar Chart](https://aicanvas.me/design-systems/andromeda/radar-chart.md)
- [Radio](https://aicanvas.me/design-systems/andromeda/radio.md)
