Skip to content

Hero

Hero Title

Inner page opening: breadcrumbs, page heading, divider and a short description.

Layout and motion from the Nitip template — see it in context

Installation

$ npx shadcn@latest add https://framebrick.co/r/blocks/hero-title.json

Usage

import { HeroTitle } from "@/components/hero-title";

<HeroTitle
  breadcrumbs={[{ label: "Home", href: "/" }, { label: "Services" }]}
  title="Services"
  description="Strategy, content and campaigns under one roof."
/>

Props

PropTypeDefaultDescription
as"h1" | "h2""h1"Heading level of the title.
breadcrumbs{ label, href? }[]Home / ServicesTrail above the heading; [] hides it.
title / descriptionstring—Page heading and the text under the divider.
widebooleanfalseWider measure (52rem instead of 36rem) for a longer description.
classNamestring—Classes for the <section>.
  • No motion: the layout is the point — follow it with a list block such as services or projects.

AI prompt

Paste into v0, Lovable, Bolt or Claude to rebuild this block in your own project.

Create a React + Tailwind CSS block called HeroTitle (Next.js).
- <section className="py-(--section-y)">, container mx-auto max-w-(--container) px-(--gutter), column gap-8.
- Breadcrumbs (nav aria-label="Breadcrumb", text-sm text-muted-foreground, "/" separators aria-hidden, links hover:text-foreground,
  last item text-foreground aria-current="page") 12px above an h1 font-heading text-h1 font-semibold tracking-tight.
- A full-width <hr className="border-border">, then a text-lead muted description, max-w-xl (or 52rem when wide).
- Only shadcn variables and block tokens.

Be the first to know

Get new templates and components first

One short email when we release a template or a free component. No spam — unsubscribe anytime.

We use your email only for Framebrick updates. Privacy policy