Split Hero
Split hero section: a two-column Hero with announcement, headline, description and buttons beside a media slot. A flip option puts the media first on wide screens; optional background.
pnpm dlx shadcn add @01orbital/split-heroThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Usage
import { SplitHero } from "@/components/hero/split-hero"
// The copy: change text here, not in the markup.
const COPY = {
title: "The copy on one side, the proof on the other.",
description:
"Split Hero puts the headline and actions beside media: a screenshot, a card, a scene. On a phone the media follows the text.",
mediaLabel: "Your media here",
} as const
const ACTIONS = [
{ label: "Get started", href: "#" },
{ label: "See examples", href: "#" },
] as const
/** Split Hero with a placeholder in the media slot. */
export default function SplitHeroDemo() {
return (
<SplitHero
level={2}
title={COPY.title}
description={COPY.description}
actions={ACTIONS}
className="w-full"
media={
<div className="grid aspect-4/3 w-full place-items-center rounded-xl bg-muted text-sm text-muted-foreground">
{COPY.mediaLabel}
</div>
}
/>
)
}Examples
New
split-hero-studio-introduction
New
split-hero-reversed-introduction
New
split-hero-large-introduction
New
split-hero-dark-studio
New
split-hero-short-launch
New
split-hero-long-product-story
New
split-hero-membership
New
split-hero-membership-reversed
New
split-hero-exhibition-announcement
New
split-hero-portrait-editorial
New
split-hero-night-school
New
split-hero-night-school-reversed
New
split-hero-open-studio
New
split-hero-minimal-edition
New
split-hero-single-action-editorial
New
split-hero-announcement-and-orbit
New
split-hero-wide-quiet-heading
New
split-hero-painted-background
New
split-hero-compact-band
New
split-hero-colored-editorial
API reference
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: @phosphor-icons/react, cn. The CLI installs them for you.
Registry pieces it installs with it: