Split Hero
A high-contrast launch hero balancing sharp product messaging with a visual proof panel.
Overview
About the Split Hero
A high-contrast launch hero balancing sharp product messaging with a visual proof panel. It is delivered as editable TypeScript for React. Tailwind CSS is required because the delivered hero JSX uses utility classes. Its focused API can be adapted to your own content and visual system.
Usage
When to use it
- Product launches that need concise messaging beside a visual proof point.
- Marketing pages with one primary and one secondary action above the fold.
What’s included
Files installed with the component
Split Hero source
components/split-hero.tsxEditable React and TypeScript component source.
Working example
examples/example.tsxA minimal import and render example that matches the packaged API.
Installation guide
README.mdManual ZIP installation, styling, compatibility, asset, and usage notes.
Usage
Import and render
Copy the packaged source to the documented path, then use the public API shown below.
import SplitHero from "@/components/split-hero";export default function HomePage() {
return <SplitHero />;
}Props
Component API
The current source has no public props; edit the included headline, copy, links, and proof panel directly.
Compatibility
Verified project setup
- ReactLoom's preview is tested with Next.js 16.3.8 App Router, React 19.2.8, TypeScript 5.9.3, and Tailwind CSS 4.3.3. This describes the store environment, not the product's minimum requirements.
- This component does not require a Client Component boundary unless you add client-side behavior.
- Tailwind CSS is required because the delivered hero JSX uses utility classes.
- Images
- No image files are included or required by the packaged component.
- Fonts
- No font files are included. The component uses system font fallbacks unless your app supplies a matching font.
Installation
Add it to your project
Download the Split Hero ZIP, place the source file at src/components/split-hero.tsx, and copy the example into your own page or feature folder.
Target path
src/components/split-hero.tsxNo additional npm runtime packages are required beyond the React host; follow the styling requirements below.
Styling requirements
- Tailwind CSS is required by the component source.
- ReactLoom verifies this source with Tailwind CSS 4.3.3; other Tailwind versions have not been verified.
- Keep the component and example paths in Tailwind's source detection scope.
- For the verified Next.js and Tailwind CSS 4 setup, register @tailwindcss/postcss in postcss.config.mjs.
- Import tailwindcss from the application's global CSS entry point.