shadcn.io is not affiliated with official shadcn/ui
Pinned Headline Numbered Grid Features Block for React
A 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.
Installation
Overview
A numbered grid with a pinned end-side header for React with Base UI. Four cells share their hairlines on the start side, each with a circled number, a title, a sentence and a command line (fleet route --optimise) with a line saying what it did. Beside a split divider, the header (a headline, one sentence and a ghost link) stays in view from lg. The header is first in the page's order and sits at the end only on a wide screen, so on a phone it comes first. The grid runs from the rail to the divider and ends the block. It's built from Guides, Badge, Button and Kbd, with CSS for the entrance and your theme's tokens for every colour. For operations tools, command-line products and any feature set that is most honest when shown as the command that does it.
FAQ
How do I change the four cells?
Edit STEPS at the top of the file: each has a numeral, a title, a description, a command and a result. The command is in a kbd element drawn as a chip, and the result is plain text under it.
How does the header end up at the end?
It is first in the page's order, so a screen reader and the Tab key meet it before the grid. On lg the grid is placed in the first column and the header in the second with grid positions, and in a right-to-left layout both flip. Nothing is reordered with order.
Where does the link go?
It is a ghost button rendered as a link (href="#"): point it at your routing docs.
The button renders the link it's given with render, with nativeButton={false}.
Are the numbers read out?
The circled numbers are decoration, hidden from assistive technology: the cells are an ordered list, so the order is in the markup.
Related
- Pro
Anchored Headline Grid Features
Headline-ledA 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.
- 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.
- 010203Pro
Numbered Question Features
Alternating rowsA feature list phrased as four questions for a deploy-safety tool, each row a band with its number, an answer, a feature link and a small drawing of the answer.
- Pro
Keyboard Shortcut Card Features
Live controlsA shortcut cheat sheet for a shortcut trainer: two groups of four shortcuts in one framed card, where pressing a shortcut while the card is focused lights its row.
- 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.