# Section Heading (Andromeda Pro)

Section Heading is a component of the Premium Andromeda Pro design system from AI Canvas (https://aicanvas.me). Index of every system, component and install setup: https://aicanvas.me/llms.txt

Opens a page section with a short label, a title and a sentence that says what the section covers.

- Design system: [Andromeda Pro](https://aicanvas.me/design-systems/andromeda-pro.md)
- License: Premium (proprietary)
- Install slug: `andromeda-pro-section-heading`
- Page: https://aicanvas.me/design-systems/andromeda-pro/section-heading

## Install

```bash
npx shadcn@latest add @aicanvas/andromeda-pro-section-heading
```

Requires Premium. Without a Premium token the command writes a placeholder (a `PremiumLocked` notice) instead of the component.

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

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

## Use it

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

```tsx
import { SectionHeading } from '@/components/aicanvas/andromeda-pro/components/SectionHeading'
```

## Example

```tsx
import { SectionHeading } from '@/components/aicanvas/andromeda-pro/components/SectionHeading'

<SectionHeading
  eyebrow="Billing"
  title="Invoices"
  description="Create, send, and track customer invoices."
  align="left"
/>
```

## Variants

- `align`: center, left or split (default 'center')
- `as`: h1, h2, h3, h4, h5 or h6 (default 'h2')

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `title` | `React.ReactNode` |  | The heading itself. |
| `eyebrow?` | `React.ReactNode` |  | A short label over the title, set in the label role (uppercase, tracked, muted). |
| `description?` | `React.ReactNode` |  | One or two sentences under the title, or beside it in `split`. |
| `actions?` | `React.ReactNode` |  | A control or two under the description, such as a Button or a toggle. |
| `align?` | `'center'\|'left'\|'split'` | `'center'` | `center` opens a band, `left` heads a column, `split` sets the description and actions beside the title on a 7:5 grid. |
| `as?` | `'h1'\|'h2'\|'h3'\|'h4'\|'h5'\|'h6'` | `'h2'` | The title's heading level; the look never changes with it. |
| `titleId?` | `string` |  | An id for the title, so the section can be labelled by it. |

## Remix prompt

Only when the user wants Section Heading rebuilt from scratch instead of installed: the public part of its remix prompt is in the Remix panel at https://aicanvas.me/design-systems/andromeda-pro/section-heading.

## More Andromeda Pro components

- [Segmented Control](https://aicanvas.me/design-systems/andromeda-pro/segmented-control.md)
- [Sidebar](https://aicanvas.me/design-systems/andromeda-pro/sidebar.md)
- [Skeleton](https://aicanvas.me/design-systems/andromeda-pro/skeleton.md)
- [Slider](https://aicanvas.me/design-systems/andromeda-pro/slider.md)
- [Spinner](https://aicanvas.me/design-systems/andromeda-pro/spinner.md)
