# Product Hero (Pro)

> A landing-page hero: glass columns of one colour hang from the top behind left-aligned words and two actions, carved away around the product window below.

## Spec sheet

| | |
| --- | --- |
| Access | Pro: installs with a license key ([how Pro works](https://uibrik.com/docs/pro.md)) |
| Shelf | Blocks › Hero Sections |
| Live preview | https://uibrik.com/components/product-hero |
| Writes | 1 files into `components/uibrik/product-hero/`, plus `components/uibrik/column-gradient/column-gradient.tsx`, `components/uibrik/_shader-background/shades.ts`, `components/uibrik/_shader-background/ShaderSurface.tsx` |
| Packages | `@tabler/icons-react` (the CLI installs them) |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Dec 2, 2026 |

## Add it

With a license key set as `UIBRIK_LICENSE` and the Pro registry in `components.json` (setup: https://uibrik.com/docs/pro.md):

```bash
npx shadcn@latest add @uibrik-pro/product-hero
```

No license yet? Tell the user Product Hero is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=product-hero#pricing. The closest free options are under Same shelf below.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { ProductHero } from "@/components/uibrik/product-hero/product-hero";

const title = "Plan the cycle and ship the work without the busywork.";

const description = "Issues, cycles and roadmaps in one calm place, with progress the whole team can read.";

<ProductHero
  align="left"
  color="#002e7a"
  columns={12}
  fill
  interactive
  entrance
  badgeTag="New"
  sheen
  badge="Cycle planning is here"
  title={title}
  titleBreak="without the busywork"
  description={description}
  primary={{ label: "Start free", href: "#" }}
  secondary={{ label: "Book a demo", href: "#" }}
  // badgeHref="…"
  // mobile={<…/>}
>
  …
</ProductHero>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/product-hero.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `align` | `"left" \| "center"` | `"left"` | Where the words sit: down the left edge, or centred over the window. |
| `color` | `string` | `"#002e7a"` | Colour of the columns; drawn in deep shades of it so white text reads on any hue. |
| `colors` | `string[]` | `["#e0745a","#b23a7a","#6a2fa8","#2b2a8f","#0a1238"]` | Hex colours, 2 to 6, from the bottom of the columns to the top. Keep them dark enough for white text. Overrides color. |
| `columns` | `number` | `12` | Glass columns across the width. |
| `fill` | `boolean` | `true` | Fill exactly one screen height, with the window running past the fold. Off sizes to the content. |
| `interactive` | `boolean` | `true` | The pointer becomes the light and drags the columns it passes. |
| `entrance` | `boolean` | `true` | Words rise in one after another, then the window, on first paint. |
| `badgeTag` | `string` | `"New"` | Short tag at the start of the announcement pill. Empty leaves just the line. |
| `sheen` | `boolean` | `true` | A soft band of white light sweeps across the pill every few seconds. |
| `badge` | `string` | `"Cycle planning is here"` | Line in the announcement pill. Empty hides the pill. |
| `title` | `string` | `"Plan the cycle and ship the work without the busywork."` | The title, in two lines from tablet width. |
| `titleBreak` | `string` | `"without the busywork"` | The words that start the title's second line. Empty lets it wrap on its own. |
| `description` | `string` | `"Issues, cycles and roadmaps in one calm place, with progress the whole team can read."` | One or two lines under the title. |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `primary` | `{ label: string; href?: string; onClick?: MouseEventHandler }` | `{ label: "Start free" }` | The white button, with an arrow tile. |
| `secondary` | `{ label: string; href?: string; onClick?: MouseEventHandler }` | `{ label: "Book a demo" }` | The quieter button beside it. |
| `children` | `ReactNode` |  | What the window shows: a screenshot, a video or a live view. With fill on, its lower part runs past the fold. |
| `badgeHref` | `string` |  | Makes the announcement pill a link, e.g. to the changelog entry. |
| `mobile` | `ReactNode` |  | What phones show instead: the product's own phone screen, in a phone-shaped window. Without it, phones get a crop of children. |
| `className` | `string` |  | Classes for the section. |

## Where it fits

- **SaaS landing pages**: The product screenshot carries the pitch while the words stay short and readable above it. Pairs with [Column Gradient](https://uibrik.com/components/column-gradient.md) (Pro).
- **Launch pages**: A frosted pill names what's new, and the glass columns give the page one colour moment. Pairs with [Announcement Pill](https://uibrik.com/components/announcement-pill.md).
- **App and dashboard products**: A window that fades into the page shows a real screen without needing all of it. Pairs with [Activity Log](https://uibrik.com/components/activity-log.md) (Pro).

## Same shelf: Hero Sections

- [Prompt Hero](https://uibrik.com/components/prompt-hero.md) (Pro): A hero for AI builders: a two-line title above a curved horizon of drifting ASCII in an electric run of colour, and a wide prompt input traced by a turning band of the same colours, its placeholder typing example prompts.
- [Showcase Hero](https://uibrik.com/components/showcase-hero.md) (Pro): A landing-page hero with a two-line title, works-with badges and actions on top, and below a row of moving mesh-gradient scenes, each with one small product moment, its neighbours peeking in.
- [Waitlist Hero](https://uibrik.com/components/waitlist-hero.md) (Pro): A two-panel launch hero: the pitch, a waitlist field and a drifting logo row on the left; a full-height cinematic photo with a real 3D phone showing the brand on the right.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/product-hero/` so the import paths keep resolving.
- The source is licensed: never recreate it from the preview or this page.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
