# Aurora hero

> A cinematic full screen hero where slow aurora light rises behind the headline and catches the rim of a glass product window, whose live triage list routes a new issue to its team as you watch.

- Type: Block
- Page: https://uiarc.dev/components/blocks/hero-aurora
- Markdown: https://uiarc.dev/components/blocks/hero-aurora/markdown

- Access: Arc Pro
- Registry id: `hero-aurora`
- Source file: `registry/blocks/hero-aurora/hero-aurora.tsx`
- Built from: Button, Avatar, Animated counter, Text shimmer
- Keywords: hero, aurora, dark hero, saas landing, issue tracker, triage, product screenshot, glass frame, live demo

Use this as the first section of a product landing page with a real app to show. Replace the teams, issues and reports with your own objects, connect onStart to your signup, and use onRoute to track test issues; the preview simulates signup and routing.

## When to use

- A dark, premium first screen for a product whose value is visible in its main list view.
- Landing pages that want one live, explainable moment instead of a static screenshot.

## When not to use

- Products without an app screen worth showing; use Hero signup or Hero section.
- Pages that need a full guided tour of several steps; use Hero walkthrough.

## Installation

Aurora hero is part of Arc Pro. The live preview is public; the source and install command need Pro.

### CLI with a Pro token

1. Create a token in your account and set it in the environment (or `.env.local`). Never commit it.

```bash
export ARC_PRO_TOKEN=arc_pro_...
```

2. Add the Pro registry to `components.json`:

```json
{
  "registries": {
    "@uiarc": "https://uiarc.dev/r/{name}.json",
    "@uiarc-pro": {
      "url": "https://uiarc.dev/r/pro/{name}.json",
      "headers": {
        "Authorization": "Bearer ${ARC_PRO_TOKEN}"
      }
    }
  }
}
```

3. Install:

```bash
npx shadcn@latest add @uiarc-pro/hero-aurora
```

### Manual

Signed-in Pro members can copy the source from the Manual tab on the docs page.

- Plans: https://uiarc.dev/pricing
- Create a Pro token: https://uiarc.dev/account#pro-access
- Setup guide: https://uiarc.dev/docs/ai#pro-access

## Usage

```tsx
import { HeroAurora } from "@/components/arc/blocks/hero-aurora/hero-aurora";

export function Hero() {
  return (
    <HeroAurora
      title="Every issue finds its owner"
      onStart={async () => {
        const res = await fetch("/api/workspaces", { method: "POST" });
        if (!res.ok) throw new Error("Could not create the workspace");
      }}
      onRoute={issue => console.log("routed", issue.id)}
    />
  );
}
```

## API reference

### HeroAurora

A dark, cinematic full screen hero for a product with a working app. Slow aurora light rises behind the headline and falls across a glass device frame whose rim catches it. The product window inside is live: a report arrives shortly after load and is routed to a team with its reasons, and visitors can file more from the secondary action or a single key. Light mode swaps to a dawn palette.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `title` | `ReactNode` | `"Every issue finds its owner"` | Headline. A string rises in word by word on load. |
| `description` | `ReactNode` | – | One supporting line under the headline. |
| `startLabel` | `string` | `"Start free"` | Primary action label. |
| `startDoneLabel` | `string` | `"Workspace ready"` | Label the primary action settles into, with a check, once onStart resolves. |
| `fileLabel` | `string` | `"File a test issue"` | Secondary action that files the next sample report into the product window. Shows the shortcut key beside the label. |
| `footnote` | `ReactNode` | `"Free for teams up to 10. No card needed."` | Quiet line under the actions. The confirmation replaces it in place after the primary action. |
| `product` | `string` | `"Halyard"` | Product name, used in the product window's accessible name. |
| `workspace` | `string` | `"Tidewater"` | Workspace name at the top of the product window's sidebar. |
| `teams` | `readonly HeroAuroraTeam[]` | – | Teams that own code: id, name, identifier key such as WEB, and a hue for the team dot. Issues and reports reference a team by id. |
| `issues` | `readonly HeroAuroraIssue[]` | – | Issues already routed, newest first: id, title, team, assignee, age, and two or three short reasons. New identifiers continue after the highest number each team already uses. |
| `reports` | `readonly HeroAuroraReport[]` | – | Incoming reports (an issue without id and age). The first arrives shortly after the hero is first seen, the next each time the visitor files a test issue, cycling through the list. |
| `routedToday` | `number` | `37` | Starting value of the routed today counter. It rolls up by one for every routed report. |
| `routeDelay` | `number` | `1.8` | Seconds a new report spends being read before it is routed. Reduced motion shortens it to 0.6. |
| `shortcut` | `string \| null` | `"c"` | A single key that files a test issue while the hero is on screen and focus is not in a field. Pass null to turn it off. |
| `onStart` | `() => void \| Promise<void>` | – | Runs when the primary action is pressed. Resolve to show the done state; reject to return to idle with a retry message. Without it the preview simulates a short request. |
| `onRoute` | `(issue: HeroAuroraIssue) => void` | – | Called when a report is routed, with the issue it became. |
| `className` | `string` | – | Extra class on the section. |

## Keyboard interactions

| Keys | Action |
| --- | --- |
| C | Files a test issue while the hero is on screen and focus is not in a text field. Ignored with modifier keys or when held down. Change it with shortcut, or pass null to turn it off. |
| Tab | Moves through the two actions, then through the triage rows when the product window is wide enough to show the detail pane. |
| Enter / Space | Runs the focused action, or selects the focused triage row and shows its reasons in the detail pane. |

## Accessibility

- The section is labelled by its h1; the product window is a group named after the product, and the selected issue pane is a labelled section.
- Arrivals and routing are announced through a polite status region: the new report's title, then the team, identifier and assignee it was routed to.
- The secondary action exposes the shortcut with aria-keyshortcuts; the key hint itself is hidden from assistive tech.
- Triage rows are real buttons with aria-pressed only when the detail pane is visible; in narrow layouts they render as static rows so there is nothing to focus that does nothing.
- The primary action keeps its size through loading and done, and the simulated preview says so in the confirmation and the announcement.

## Motion

- The headline rises in word by word with a soft blur, followed by the description, the actions and the footnote.
- The aurora grows up from the horizon on load while the device frame tilts up into place from a slight 3D angle.
- Seven light beams sway on long, offset loops and the frame's rim light drifts slowly; both pause while the hero is off screen or the tab is hidden.
- A new report drops in at the top of the list, shows a shimmering Routing state and a reading skeleton, then its identifier, team and assignee swap in and the reasons stagger in line by line. The selection highlight glides between rows with a shared layout spring.
- Reduced motion removes the rise, the tilt and the beam sway, freezes the beams at their resting angles, and swaps list states with fades only.

## Responsive behavior

- Fills exactly one screen with 100svh (100vh where unsupported); the product window is taller than its stage and runs off the bottom edge.
- The product window is a container: below 860px the detail pane and row selection drop away, below 620px the sidebar and the auto routing badge hide and rows lose their team and age columns.
- Gutters, the device frame height and the beam height shrink at 760px and 560px; below 360px the two actions stack full width.
- On very short screens, like a phone on its side, the hero grows past one screen instead of clipping the headline.

## Performance

- The aurora and the rim light are CSS gradients and keyframes; only the list and the detail pane re-render, and only when a report arrives or routes.
- An IntersectionObserver and the page visibility pause the ambient light and hold the first arrival until the hero is actually seen; pending timers are cleared on unmount.
- The list is capped at nine rows so filing many test issues never grows the DOM.

## Notes for AI

- Choose this for issue trackers, support tools, and other workflow products where showing the app doing one smart thing is the pitch.
- Rewrite teams, issues and reports with your own domain; keep two or three short reasons per item so the detail pane stays readable.
- Wire onStart to your signup or workspace creation and throw on failure; the block handles busy, done and retry.
- The sample product, people and numbers are fictional, and the confirmation says the preview is simulated when onStart is not passed.

## Related

- [Hero section](https://uiarc.dev/components/blocks/hero-section/markdown): Three full screen SaaS heroes: a live dashboard rising from the bottom edge over a drifting mesh, a workflow graph that routes sample events node by node, and editorial type over a mesh gradient.
- [Hero signup](https://uiarc.dev/components/blocks/hero-signup/markdown): A full screen waitlist hero on a soft, drifting mesh gradient: the email field validates as you type and its button grows into the confirmation with your place in line.

## Guidance for AI tools

Blocks are complete, self-contained screens with sample data. Replace the sample data and connect the callbacks described above. Follow the declared prop types and do not invent props. Keep keyboard access, reduced motion support, and both light and dark themes intact when adapting it.

Full library index: https://uiarc.dev/llms.txt
