shadcn.io is not affiliated with official shadcn/ui
Pinned Headline Numbered Grid Features Block for React Aria
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 React Aria. 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 a link when it has an href.
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.