shadcn.io is not affiliated with official shadcn/ui
Founding Artefacts About Block for React
An about section for an invoicing studio: six founding artefacts as greyscale drawings in an asymmetric grid, each with a caption.
Installation
Overview
A founding-artefacts gallery for React with Base UI, written for Slipwell, a fictional invoicing tool for small studios. A centred heading counts the artefacts, and six greyscale drawings follow in shared hairlines that run from rail to rail: the first invoice, a whiteboard of formulas, a wall of notes, the first logo sketch, the first dashboard and a receipt. On a wide screen the invoice spans two rows and the last three drawings share one row; on a phone the six cells are two columns. Each drawing has a caption under it. The band ends the block, so it does not draw a second rule above the next block. The page's rails and top rule come from the Guides spine. It's built from Guides, with a CSS entrance and your theme's tokens for every colour. For an about page that would rather show what the company kept from its first year than a row of stock photographs. The objects are invented for the example. Replace any drawing with an image and keep the caption.
FAQ
How do I change the artefacts?
The captions and the wide-screen spans are ARTEFACTS at the top of the file. Each has an id, a title, a caption and a wide class. The drawing for an id lives in ArtefactDrawing. The heading's count is the length of the array. To use a photograph, replace that id's svg with an img and keep the figure and the caption.
How does the asymmetric grid stay full?
On a wide screen the grid is six columns: the invoice spans three columns and two rows, the whiteboard and the notes span three each beside it, and the logo, the dashboard and the receipt span two each on the last row. On a phone there is no span, so six cells fill three rows of two. A short row would show the border colour through the gap, which is why the spans add up.
How is it read by a screen reader?
The heading is the section's only h2. The cells are a list named with the count. Each cell is a figure: the drawing is hidden as decoration, and the caption's title is an h3 with the sentence under it, so the story does not depend on the picture. The lines are drawn by a layer hidden from assistive technology.
How does it fit on a phone?
The grid is two columns from the narrowest width. Drawings keep a short fixed height, and the invoice grows to fill its two rows only from lg. Captions wrap. Nothing scrolls sideways at 320 pixels.
Why are these drawings and not photographs?
The block ships without image files, and a grey box with an image icon reads as unfinished. Each drawing is the object it captions: an invoice, a board, notes, a sketch, a dashboard, a receipt. The comment above ArtefactDrawing is where a project swaps in photographs.
Related
- Pro
Image Overlay About
Company storyA photo editor's tagline over its own product shot: a heading, a greyscale drawing of the editor in a framed figure with a caption panel floating over its foot and one ghost link, and a strip of figures since the first customer.
- Pro
Chaptered Origin Story About
Company storyA company's origin story as four long chapters of prose beside a sticky chapter index that follows the reader, turning into a row of chips on phones.
- Pro
Horizontal Track Timeline About
TimelinesA company timeline drawn as one horizontal track: six milestones in relative time, each a cell of a ruled band with a dot on the rule, turning into a vertical rail on phones.
- Pro
Centered Story About
Company storyA founding story told as one centred long read: a heading and byline, a first paragraph with a drop cap, a pull quote on a band ruled rail to rail, then the rest in a readable column ending on a closing line and a link.
- Pro
Values Bento About
Culture and valuesA bento of six values for a community-forum company: three tall cells that each carry a story of what the value looked like in a nested quote, and three one-line cells stacked beside them, in shared hairlines.
- Pro
Lightbox Gallery
Stage and thumbnailsNine pictures of a photography studio's year on shared hairlines, a featured frame and a caption under each, where every frame opens one viewer dialog with the whole picture, its credit, Previous and Next, a counter, arrow keys and a swipe.