DDBS UI
heroes

Centered Visual Hero

A centered hero in a rounded frame: nav on top, heading, lead, two actions, a visual slot (card ring or product) and a star rating.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/centered-visual-hero.json
Dependencies:lucide-react
Fullscreen

Building the future with
data and strategy

We help teams unlock growth and efficiency through clear consulting and smart automation.

Rated 4.9/5 by 4,900+ clients

Usage

centered-visual-hero-example.tsx
import { CenteredVisualHero } from "@dbs/ui";

export default function CenteredVisualHeroExample() {
  return (
    <CenteredVisualHero
      backgroundImage="/samples/cumulus-hero-sky.jpg"
      title={<>Building the future with<br />data and strategy</>}
      lead="We help teams unlock growth and efficiency through clear consulting and smart automation."
      actions={
        <>
          <a href="#" className="inline-flex h-10 items-center rounded-full border border-white/25 bg-black/35 px-6 text-[11px] font-medium uppercase tracking-[0.12em] backdrop-blur-md">View demo</a>
          <a href="#" className="inline-flex h-10 items-center rounded-full bg-[var(--color-gold)] px-6 text-[11px] font-medium uppercase tracking-[0.12em] text-ink">Get started</a>
        </>
      }
      visual={
        <div className="mx-auto grid max-w-md grid-cols-3 gap-3">
          {["cumulus-face-1", "cumulus-face-2", "cumulus-face-3"].map((n) => (
            // eslint-disable-next-line @next/next/no-img-element
            <img key={n} src={`/samples/${n}.jpg`} alt="" className="aspect-[3/4] w-full rounded-2xl object-cover shadow-lg" />
          ))}
        </div>
      }
      rating={{ text: "Rated 4.9/5 by 4,900+ clients" }}
    />
  );
}