
A hero on a rich gradient background with a centered headline, subtext, and CTA. A bold, color led opener for product and campaign landing pages.
@shadcn-ui-blocks
import { Button } from "@/components/ui/button";
export default function HeroSectionGradientBackground() {
return (
<>
{/* Hero */}
<div className="relative overflow-hidden py-24 lg:py-32">
{/* Gradients */}
<div
aria-hidden="true"
className="flex absolute -top-96 start-1/2 transform -translate-x-1/2"
>
<div className="bg-gradient-to-r from-background/50 to-background blur-3xl w-[25rem] h-[44rem] rotate-[-60deg] transform -translate-x-[10rem]" />
<div className="bg-gradient-to-tl blur-3xl w-[90rem] h-[50rem] rounded-full origin-top-left -rotate-12 -translate-x-[15rem] from-primary-foreground via-primary-foreground to-background" />
</div>
{/* End Gradients */}
<div className="relative z-10">
<div className="container mx-auto px-4 md:px-6 2xl:max-w-[1400px] py-10 lg:py-16">
<div className="max-w-2xl text-center mx-auto">
<p className="">Elevate your projects</p>
{/* Title */}
<div className="mt-5 max-w-2xl">
<h1 className="scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl">
Beautiful UI Blocks
</h1>
</div>
{/* End Title */}
<div className="mt-5 max-w-3xl">
<p className="text-xl text-muted-foreground">
Over 10+ fully responsive, UI blocks you can drop into your
Shadcn UI projects and customize to your heart's content.
</p>
</div>
{/* Buttons */}
<div className="mt-8 gap-3 flex justify-center">
<Button size={"lg"}>Get started</Button>
<Button size={"lg"} variant={"outline"}>
Learn more
</Button>
</div>
{/* End Buttons */}
</div>
</div>
</div>
</div>
{/* End Hero */}
</>
);
}



























