Header 121
off_grid2 ColumnsImage/Video BottomText Align Left3 ColumnsButtonsImage

Code
relume-header121.tsx
import { Button, type ButtonProps } from "@/components/ui/button";
type ImageProps = {
src: string;
alt?: string;
};
type Props = {
heading: string;
description: string;
buttons: ButtonProps[];
firstImage: ImageProps;
secondImage: ImageProps;
thirdImage: ImageProps;
};
export type Header121Props = React.ComponentPropsWithoutRef<"section"> & Partial<Props>;
export const Header121 = (props: Header121Props) => {
const { heading, description, buttons, firstImage, secondImage, thirdImage } = {
...Header121Defaults,
...props,
};
return (
<section className="px-[5%] py-16 md:py-24 lg:py-28">
<div className="container">
<div className="mb-12 w-full max-w-lg md:mb-18 lg:mb-20">
<h2 className="mb-5 text-h1 font-bold md:mb-6">{heading}</h2>
<p className="text-medium">{description}</p>
<div className="mt-6 flex gap-x-4 md:mt-8">
{buttons.map((button: ButtonProps, index) => (
<Button key={index} {...button}>
{button.title}
</Button>
))}
</div>
</div>
<div className="mt-12 grid auto-cols-fr grid-cols-1 items-end sm:grid-cols-[0.4fr_1fr_0.4fr] sm:gap-8 md:mt-0">
<div className="w-full">
<img
className="aspect-square size-full rounded-image object-cover"
src={firstImage.src}
alt={firstImage.alt}
/>
</div>
<div className="my-[15%] w-full">
<img
className="my-[10%] aspect-[3/2] size-full rounded-image object-cover sm:my-0"
src={secondImage.src}
alt={secondImage.alt}
/>
</div>
<div className="w-full self-start">
<img
className="aspect-[3/4] size-full rounded-image object-cover"
src={thirdImage.src}
alt={thirdImage.alt}
/>
</div>
</div>
</div>
</section>
);
};
export const Header121Defaults: Props = {
heading: "Long heading is what you see here in this header section",
description:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
buttons: [{ title: "Button" }, { title: "Button", variant: "secondary" }],
firstImage: {
src: "https://d22po4pjz3o32e.cloudfront.net/placeholder-image.svg",
alt: "Relume placeholder image 1",
},
secondImage: {
src: "https://d22po4pjz3o32e.cloudfront.net/placeholder-image.svg",
alt: "Relume placeholder image 2",
},
thirdImage: {
src: "https://d22po4pjz3o32e.cloudfront.net/placeholder-image.svg",
alt: "Relume placeholder image 3",
},
};npm i @radix-ui/react-dialog @radix-ui/react-slot class-variance-authority@0.7.1 clsx@^2.1.1 motion@^12.15.0 relume-icons@1.3.0 tailwind-merge@^2.2.2


