shadcn.io is not affiliated with official shadcn/ui
Evolution Case Study Gallery Block for React
One identity in four pictures (a logo sketch, a wireframe, a mock-up and the shipped screen) beside a sticky summary and a stage index whose bar follows the stage on screen.
Installation
Overview
A case-study gallery for React with Base UI, for Yellowpine Design, a brand studio, showing one design's evolution. Behind a split divider, the end column is four bands in the order the work was made: a logo sketch, a wireframe, a grey mock-up and the shipped screen, each picture beside a time, a heading and a sentence. The start column holds the title, a summary of the project (client, role, year and team) and a stage index that stays in view while you read: a bar follows the stage on screen and each entry jumps to its band. On phones the index becomes a row of chips above the pictures. The pictures are drawn in code, not photographed, and the project, client and dates are made up for the example. Built from Toc, DataList and Guides.
FAQ
How does the index follow the scroll?
The Toc watches the four headings (each band's h3 has the id its entry links to) and marks the one on screen with a bar. Choosing an entry scrolls to its heading and updates the address. The index sits in a sticky column, so it stays beside the pictures on wide screens.
How do I use my own pictures?
Each stage in STAGES has an id, an anchor, a time, a heading and a sentence, and ArtFor returns its picture. Replace a drawing with an img (keep its box, 16 by 10 from md), and keep the heading's id: the index reads the anchors from the same list.
How does it work with a keyboard?
Tab reaches the index's links, and Enter jumps to a band. The pictures are drawings, so the heading and sentence beside each one carry the meaning. On phones the chips are links to the same anchors.
Does it work in a right-to-left page?
The split and the index bar mirror. The drawn pictures keep their own direction, since they show a layout and a mark, and the summary's year is left as digits.
Related
- Pro
Index Preview Portfolio Gallery
Stage and thumbnailsA numbered index of eight projects whose rows are links, with one drawn picture that changes as the pointer or keyboard focus moves between them.
- Pro
Illustrated Steps Gallery
Annotated picturesA four-step picture-framing how-to: Steps as a band of hairline cells, a manual-style line drawing and three instructions for each step, a Mark step done button, a done count and a completed state.
- Pro
Picture Timeline Gallery
Rows and bandsA vertical timeline of drawn pictures hung on a hairline through five years of a tools maker's story, with a year index that marks the year in view, jumps on choosing one and becomes a row of chips on a phone.
- 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
Snap Row Case Study Cards
CustomersA scroll-snap row of five case-study covers, each with a drawn wordmark, a giant result figure, two tags and a link, and a wider first card.
- Pro
A bento for an on-call alert router: one tall customer story with a big result, a quote and a link, beside four customers that each carry an industry pill and a retention figure, in cells that share their hairlines.