shadcn.io is not affiliated with official shadcn/ui
Anchored Headline Grid Features Block for React
A feature section for a developer portal with a display headline pinned to the start side and a two-by-two grid of features in shared hairlines, each cell leading with a small greyscale drawing.
Installation
Overview
An anchored-headline feature section for React with Base UI. A large headline, one sentence and two buttons (the Shine Button and an outline one) sit in the start column, which stays in view from lg while you scroll the grid beside it. The end column is a two-by-two grid of features in cells that share their hairlines, behind a split divider with + marks where it meets the top rule. Each cell leads with a small greyscale drawing of the feature (a search with filter chips, a scorecard's meters, two switches, a stack of owners), then a title and one sentence. It's built from Guides, Shine Button, Button and Avatar, with CSS for the entrance and your theme's tokens for every colour. For developer tools, platforms and any product whose headline should carry the pitch while four features back it up.
FAQ
How do I change the four features?
Edit CATALOG, SCORECARDS, ENVIRONMENTS and OWNERSHIP at the top of the file: each has a title and a description. Each cell takes its drawing as its child, so swap a drawing by replacing the component inside its Cell. The drawings are decoration, hidden from assistive technology, so the title and sentence carry the meaning.
Where do the buttons go?
Both are links (href="#"): point the first at your demo and the second at your docs. The first is a Shine Button: a band of light sweeps across it once on hover and keyboard focus.
Each button renders the link it's given with render, with nativeButton={false}.
Is the headline really pinned?
From lg the header column's content is sticky below the top of the viewport, so it stays in view while a taller grid scrolls past. At the default size of the grid the whole section fits on a screen, so nothing visibly moves until you add rows or cells. Below lg the header simply comes first.
Does it follow my theme?
Yes. The drawings are built from card, muted and foreground tokens, with no fixed colours and no dark scope, so the section is light on a light page and dark on a dark one. Only the two buttons carry the primary colour.
Related
- Pro
Large Headline Side Checklist Features
Headline-ledA feature section for an onboarding tool with a large headline on the start side and a card-in-card setup checklist beside it, whose real checkboxes drive a progress meter and a spoken count.
- 01020304Pro
Manifesto Quad Grid Features
Headline-ledA centred manifesto feature section for a deploy tool: a statement over a full-width two-by-two of numbered principles, each written as what you give up against what you get, crossing at one plus mark.
- 01020304Pro
Pinned Headline Numbered Grid Features
Headline-ledA numbered two-by-two for fleet operations with the headline pinned to the end side: four cells in shared hairlines, each with a command line and what it did.
- Pro
Sticky Headline Six Point Features
Headline-ledSix engineering principles as automated checks: a sticky header with a live tally of passing checks beside a two-by-three of cells, each with its check line.
- Pro
Sticky Headline Scroll List Features
Headline-ledA feature list for a developer platform: a narrow headline column that stays in view beside eight numbered rows, each ending in a compact mockup of the feature.
- Pro
Availability Index Features
Headline-ledA feature index for a deploy tool: a large headline over a table of six features, each with a rollout meter and a channel badge, in bands that run from rail to rail.