Updated
Product Hero
ProCustomize
Left
Color
Columns12
Installation
ProProduct Hero is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Buying? Use the email you'll sign in with. Your license is tied to it.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/product-hero
Loading your installation…
Usage
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>Where to use Product Hero
SaaS landing pages
The product screenshot carries the pitch while the words stay short and readable above it.
Pairs with Column Gradient
Launch pages
A frosted pill names what's new, and the glass columns give the page one colour moment.
Pairs with Announcement Pill
App and dashboard products
A window that fades into the page shows a real screen without needing all of it.
Pairs with Activity Log
Props
ProductHero- align
- Type "left" | "center"
- "left"
- Where the words sit: down the left edge, or centred over the window.
- color
- Type string
- "#002e7a"
- Colour of the columns; drawn in deep shades of it so white text reads on any hue.
- colors
- Type 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
- Type number
- 12
- Glass columns across the width.
- fill
- Type boolean
- true
- Fill exactly one screen height, with the window running past the fold. Off sizes to the content.
- interactive
- Type boolean
- true
- The pointer becomes the light and drags the columns it passes.
- entrance
- Type boolean
- true
- Words rise in one after another, then the window, on first paint.
- badgeTag
- Type string
- "New"
- Short tag at the start of the announcement pill. Empty leaves just the line.
- sheen
- Type boolean
- true
- A soft band of white light sweeps across the pill every few seconds.
- badge
- Type string
- "Cycle planning is here"
- Line in the announcement pill. Empty hides the pill.
- title
- Type string
- "Plan the cycle and ship the work without the busywork."
- The title, in two lines from tablet width.
- titleBreak
- Type string
- "without the busywork"
- The words that start the title's second line. Empty lets it wrap on its own.
- description
- Type string
- "Issues, cycles and roadmaps in one calm place, with progress the whole team can read."
- One or two lines under the title.
- primary
- Type { label: string; href?: string; onClick?: MouseEventHandler }
- { label: "Start free" }
- The white button, with an arrow tile.
- secondary
- Type { label: string; href?: string; onClick?: MouseEventHandler }
- { label: "Book a demo" }
- The quieter button beside it.
- children
- Type ReactNode
- –
- What the window shows: a screenshot, a video or a live view. With fill on, its lower part runs past the fold.
- badgeHref
- Type string
- –
- Makes the announcement pill a link, e.g. to the changelog entry.
- mobile
- Type 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
- Type string
- –
- Classes for the section.