Updated
Showcase Hero
ProCustomize
Grain0.09
Installation
ProShowcase 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/showcase-hero
Loading your installation…
Usage
import { ShowcaseHero } from "@/components/uibrik/showcase-hero/showcase-hero";const description = "An AI workspace that reads your numbers, docs and threads, and turns them into decisions your team can act on.";const slides = [ { label: "Ask", colors: ["#3f4f86", "#6f7fb8", "#aab6dc", "#dfe2f0", "#7d9cb0", "#2c3866"], content: <AskCard /> }, { label: "Answer", colors: ["#4d4381", "#8574b5", "#c1b1dc", "#ebe1f0", "#8f9fc8", "#352d60"], content: <AnswerCard /> }, // …1 more];<ShowcaseHero motion grain={0.09} autoplay={false} fill entrance title="Decide faster|with the full picture" badgesLabel="Works with" description={description} slides={slides} badges={[]} primary={{ label: "Get started", href: "#" }} secondary={{ label: "Learn more", href: "#" }}/>Where to use Showcase Hero
AI products and assistants
Small, real moments (asking, answering, acting) show what the product does better than a feature list.
Pairs with Mesh Gradient
Several use cases in one hero
Each scene holds one moment; choosing a neighbour slides it to the middle.
Pairs with Product Hero
Calm B2B landing pages
Soft scenes and one clear pair of buttons keep the first screen quiet and focused.
Props
ShowcaseHero- motion
- Type boolean
- true
- The scenes' mesh gradients drift slowly. Off holds a still frame.
- grain
- Type number
- 0.09
- Film grain over the scenes.
- autoplay
- Type boolean
- false
- Move to the next scene on its own, pausing while the pointer is over the scenes.
- interval
- Type number
- 7
- Seconds each scene stays when autoplaying.
- fill
- Type boolean
- true
- Fill exactly one screen height from desktop width up, the scenes running past the fold.
- entrance
- Type boolean
- true
- The words rise in one after another on first paint.
- title
- Type string
- "Decide faster|with the full picture"
- The title; a | starts a new line. Two lines read best.
- badgesLabel
- Type string
- "Works with"
- Small label before the badges. Empty hides it.
- description
- Type string
- "An AI workspace that reads your numbers, docs and threads, and turns them into decisions your team can act on."
- Two or three lines on the right.
- slides
- Type ShowcaseSlide[]
- –
- The scenes: a label for the peek button, 2 to 6 colours for the moving mesh gradient, and the product moment (any element) centred on it.
- badges
- Type { label: string; icon?: ReactNode }[]
- –
- Products it works with, shown under the title. Empty hides the row.
- primary
- Type { label: string; href?: string; onClick?: MouseEventHandler }
- { label: "Get started" }
- The filled button, with an arrow.
- secondary
- Type { label: string; href?: string; onClick?: MouseEventHandler }
- { label: "Learn more" }
- The quiet button beside it.
- className
- Type string
- –
- Classes for the section.