Hero 2
Centered hero over animated grayscale gradient bars, with a live pill, a serif headline with an underlined accent, dual CTA and a wordmark strip.
Preview
Installation
npx shadcn@latest add https://hirael.com/r/hero-02.jsonCode
components/blocks/hero-02.tsx
'use client';
import * as React from 'react';
import dynamic from 'next/dynamic';
import { ArrowRight, Compass, Dna, Gem, Globe, Play, ShieldCheck, Sun } from 'lucide-react';
import { Button } from '@/registry/hirael/bases/radix/ui/button';
const Hero02Backdrop = dynamic(() => import('./hero-02-backdrop'), {
ssr: false,
loading: () => <div className="size-full bg-muted/20" />,
});
const WORDMARKS = [
{ name: 'Helix', icon: Dna },
{ name: 'Northwind', icon: Compass },
{ name: 'Vanta', icon: ShieldCheck },
{ name: 'Quartz', icon: Gem },
{ name: 'Lumen', icon: Sun },
{ name: 'Atlas', icon: Globe },
] as const;
const Hero02 = () => {
const [active, setActive] = React.useState(false);
return (
<section
data-slot="hero"
className="relative isolate flex min-h-[640px] flex-col items-center justify-center overflow-hidden bg-background px-6 py-24 text-center text-foreground md:px-10"
onMouseEnter={() => setActive(true)}
onMouseLeave={() => setActive(false)}
>
<div
aria-hidden
data-slot="hero-wash"
className="pointer-events-none absolute inset-0"
style={{
backgroundImage: [
'radial-gradient(55% 55% at 50% 8%, color-mix(in oklch, var(--primary) 30%, transparent), transparent 64%)',
'radial-gradient(60% 60% at 10% 92%, color-mix(in oklch, var(--accent-cool) 28%, transparent), transparent 68%)',
'radial-gradient(60% 60% at 90% 80%, color-mix(in oklch, var(--chart-2) 20%, transparent), transparent 68%)',
].join(', '),
}}
/>
<div
aria-hidden
data-slot="hero-backdrop"
className="pointer-events-none absolute inset-0 opacity-50 mix-blend-multiply [mask-image:radial-gradient(ellipse_at_center,black_15%,transparent_72%)] dark:opacity-40 dark:mix-blend-screen"
>
<Hero02Backdrop active={active} />
</div>
<span className="inline-flex items-center gap-2 rounded-full border border-border bg-card/70 px-3.5 py-1.5 font-mono text-[10px] uppercase tracking-[0.14em] backdrop-blur-sm">
<span className="relative flex size-1.5">
<span
className="absolute inline-flex size-full animate-ping rounded-full opacity-75"
style={{ background: 'var(--accent-cool)' }}
/>
<span className="relative inline-flex size-1.5 rounded-full" style={{ background: 'var(--accent-cool)' }} />
</span>
Live
<span className="text-muted-foreground">2026.06</span>
</span>
<h1 className="mt-8 max-w-4xl font-serif text-5xl font-medium leading-[1.04] tracking-tight sm:text-6xl md:text-7xl">
Ship faster with tools that stay{' '}
<span className="italic underline decoration-border decoration-2 underline-offset-[10px]">out of your way</span>
.
</h1>
<p className="mt-6 max-w-xl text-lg leading-relaxed text-muted-foreground">
A focused toolkit for teams that would rather build than configure. Sensible defaults, no busywork.
</p>
<div className="mt-10 flex flex-col items-center gap-3 sm:flex-row">
<Button asChild size="lg" className="group h-12 rounded-full px-7 text-base">
<a href="#">
Get started
<ArrowRight className="size-4 transition-transform duration-300 group-hover:translate-x-0.5 rtl:rotate-180 rtl:group-hover:-translate-x-0.5" />
</a>
</Button>
<Button asChild size="lg" variant="ghost" className="h-12 rounded-full px-7 text-base">
<a href="#">
<Play className="size-4" />
Watch demo
</a>
</Button>
</div>
<div className="mt-16 flex flex-col items-center gap-5">
<p className="font-mono text-[10px] uppercase tracking-[0.16em] text-muted-foreground">
Trusted by teams shipping at scale
</p>
<div className="flex flex-wrap items-center justify-center gap-x-8 gap-y-4">
{WORDMARKS.map((w) => (
<span
key={w.name}
className="inline-flex items-center gap-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground"
>
<w.icon aria-hidden className="size-4" />
{w.name}
</span>
))}
</div>
</div>
</section>
);
};
export default Hero02;
Dependencies
shadcn registry
button
npm
shaderslucide-react