Case Study Hero
A case study header with project metadata grid, service tags, and featured image. Perfect for agency portfolio pages showcasing client work details.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge, media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/case-study-hero.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/agency/agency10.tsx instead.
Usage
The file also exports agency10Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Agency10, agency10Demo } from "@/components/blocks/agency/agency10"; export default function Page() { return <Agency10 {...agency10Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | none | Small label above the heading, e.g. "Case study". |
| heading | string | none | Large project title. |
| meta | MetaField[] | none | Metadata pairs shown in a 2/4-column grid, e.g. Client, Year, Industry, Duration. |
| services | string[] | none | Row of outline badges naming the services delivered on the project. |
| image | MediaSlotImage | none | Large featured image below the metadata grid, rendered at a 16:9 aspect ratio. |
| className | string | none | Extra classes for the outer section element. |
Types
type MetaField = { label: string; value: string; };
Behavior notes
- Purely presentational: the metadata grid, service tags, and image are all static demo content with no live data source.
- The featured image uses a fixed 16:9 aspect ratio via MediaSlot; there is no lightbox or click-to-expand behavior.
More Agency Blocks
View all →studio-manifesto
Studio Manifesto
Oversized editorial manifesto statement with emphasized phrases, principle chips and a founder signature.
studio-values
Studio Values
Studio values laid out with oversized ghost numerals, titles, descriptions and keywords.
how-we-think
How We Think
Sticky studio intro with a portrait beside a stack of numbered principles.
studio-team
Studio Team
A studio team grid of member portraits with names and roles.
awards-list
Awards List
Editorial list of studio awards by year with project and recognition details.
studio-at-a-glance
Studio At A Glance
Studio overview pairing facts, copy and highlight stats with a clean studio image.