A SaaS hero section with left-aligned headline, tabbed navigation, 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 { TabbedHeroSection } from "@/registry/ruixenui/tabbed-hero-section";
import { Globe, BarChart3, Sparkles, Layers } from "lucide-react";
/* ── demo ─────────────────────────────────────────────────────── */
export default function TabbedHeroSectionDemo() {
return (
<TabbedHeroSection
title="Ship products your customers will love"
description="From analytics to AI-powered workflows, everything your team needs to build, measure, and iterate — faster than ever."
primaryAction={{ href: "#", label: "Get Started" }}
secondaryAction={{ href: "#", label: "Book a Demo" }}
tabs={[
{ icon: <Globe />, label: "Overview" },
{ icon: <BarChart3 />, label: "Analytics" },
{ icon: <Sparkles />, label: "Workflows" },
{ icon: <Layers />, label: "Integrations" },
]}
activeTab={1}
trustedBy={{
description: (
<p>
Trusted by teams at{" "}
<span className="text-foreground font-medium">YC startups,</span>{" "}
<span className="text-foreground font-medium">
Fortune 500 companies,
</span>{" "}
and{" "}
<span className="text-foreground font-medium">
leading agencies
</span>
</p>
),
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="notion"
className="text-[15px] font-semibold tracking-tight whitespace-nowrap"
>
Notion
</span>,
<span
key="stripe"
className="text-[15px] font-semibold tracking-tight whitespace-nowrap"
>
Stripe
</span>,
<span
key="figma"
className="text-[15px] font-semibold tracking-tight whitespace-nowrap"
>
Figma
</span>,
],
}}
/>
);
}
































