Skip to Content

Split Hero with Solar Flare

Split dark hero with headline, description and two buttons beside a SolarFlareTextureScene orb, with a page-colored gradient keeping the text column clear on desktop. Children can replace the art.

Installation

pnpm dlx shadcn@latest add @01orbital/split-hero-02

API reference

A dark split hero: a heading, a paragraph and two buttons on the left and a solar flare scene on the right. On narrower screens the scene sits below the text.

The words live in COPY at the top of the file. The buttons link to #.

Prop

Type

Make it yours

  • Its words are in COPY at the top of components/blocks/hero/split-hero-02/index.tsx: change them there, not in the markup.
  • Its look comes from Solar Flare Scene; each page lists the props that change it.

Built from

npm: cn. The CLI installs it for you.

Built from these parts. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.

Last updated on