A split-layout hero section with left-aligned headline, key metrics, app screenshot showcase, and trusted-by logo strip.
Install
Add it to your project
Run this in a project set up for shadcn/ui. It writes the files and installs the npm packages.
First time: connect the Infinity UI registry
- Create a personal token on your Tokens page.
- Put it in
.env.localasINFINITYUI_TOKEN. - Add the registry to
components.json:
{
"registries": {
"@infinityui": {
"url": "https://infinityui.io/r/{name}.json",
"headers": {
"Authorization": "Bearer ${INFINITYUI_TOKEN}"
}
}
}
}Using Claude Code, Codex, Cursor, Lovable or v0? See CLI & MCP for a setup prompt.
Code
import { SplitHeroSection } from "@/registry/ruixenui/split-hero-section";
export default function SplitHeroSectionDemo() {
return (
<SplitHeroSection
title="The analytics platform for modern teams"
description="One tool that does it all. Monitor, analyze, and optimize—right inside your workflow."
primaryAction={{ href: "#link", label: "Start free trial" }}
secondaryAction={{ href: "#link", label: "Talk to sales" }}
stats={[
{
value: "99.9",
unit: "%",
label: (
<>
<strong className="font-medium text-foreground">
Uptime guarantee
</strong>{" "}
across all regions.
</>
),
},
{
value: "3",
unit: "ms",
label: (
<>
<strong className="font-medium text-foreground">
Median latency
</strong>{" "}
for real-time queries.
</>
),
},
]}
trustedBy={{
logos: [
<span
key="vercel"
className="text-[15px] font-semibold tracking-tight whitespace-nowrap"
>
Vercel
</span>,
<span
key="linear"
className="text-[15px] font-semibold tracking-tight whitespace-nowrap"
>
Linear
</span>,
<span
key="stripe"
className="text-[18px] font-bold tracking-tight whitespace-nowrap"
>
stripe
</span>,
<span
key="notion"
className="text-[15px] font-semibold tracking-tight whitespace-nowrap"
>
Notion
</span>,
<span
key="supabase"
className="text-[14px] font-bold tracking-tight whitespace-nowrap"
>
Supabase
</span>,
<span
key="figma"
className="text-[15px] font-semibold tracking-tight whitespace-nowrap"
>
Figma
</span>,
<span
key="raycast"
className="text-[14px] font-semibold tracking-tight whitespace-nowrap"
>
Raycast
</span>,
<span
key="resend"
className="text-[15px] font-semibold tracking-tight whitespace-nowrap"
>
Resend
</span>,
],
}}
/>
);
}
































