Framed Image Hero
A hero in a large rounded frame with a full-bleed photo and content slots in four zones: top left, top right, heading with tags, and description with a CTA.
npx shadcn@latest add https://ui.develop-better-solutions.com/r/framed-image-hero.json
Follow us

Limited slots, book early
- Golfing
- Fairway
- Tee time
Tee off in perfect surroundings
Book your tee time at premium courses with world-class facilities.
Book nowUsage
framed-image-hero-example.tsx
import { FramedImageHero } from "@dbs/ui";
export default function FramedImageHeroExample() {
return (
<div className="w-full">
<FramedImageHero
image="/samples/linksmoor-hero.jpg"
imageAlt="Golf clubs on a fairway"
topLeft={<p className="text-[13px] font-medium text-white/90">Follow us</p>}
topRight={
<div className="w-[260px] rounded-2xl border border-white/40 bg-white/10 p-2.5 backdrop-blur-md">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src="/samples/linksmoor-hero-card.jpg" alt="" className="aspect-[2/1] w-full rounded-xl object-cover" />
<p className="px-1 pt-2.5 text-[14px] font-medium">Limited slots, book early</p>
</div>
}
tags={["Golfing", "Fairway", "Tee time"]}
title={<>Tee off in perfect surroundings</>}
description="Book your tee time at premium courses with world-class facilities."
action={<a href="#" className="inline-flex h-11 items-center rounded-full bg-white px-7 text-sm font-medium text-black">Book now</a>}
/>
</div>
);
}