shadcn.io is not affiliated with official shadcn/ui
Stamped Editorial Picks Awards Block for React
A centred header over three editor's picks for a reading app, each with a round stamp drawn in SVG, the publication, the pick's headline and a two-line pull quote in cells with overshoot lines.
Installation
Overview
An editor's-picks block for React with Base UI. A centred header sits over three cells with overshoot lines and + marks, each apart from the next. Every cell opens with a round stamp drawn in SVG: two rings, "Editor's pick" on the arc over the top, the publication on the arc under the bottom and "Pick" in the middle, turned a few degrees as a hand-stamped mark would be. Under it come the publication and its date, the pick's headline and a two-line pull quote. There are no stars. The page's rails and top rule come from the Guides spine. It's built from Guides, an inline SVG and your theme's tokens, with a CSS transition for the entrance. The publications and quotes are made up for the example.
FAQ
How do I change the picks?
Edit PICKS at the top of the file. Each pick has a publication, a headline, a quote, an ISO date, a lettering string for the publication's wordmark, the short ring text that runs on the stamp's lower arc and a turn class that tilts the stamp. Keep each id different: it names the two arcs the text follows.
How is the stamp drawn?
It's one SVG in a 120 by 120 box: two circles and two text paths, one arc over the top and one under the bottom. The words are real text on those paths, set at nine units with letter spacing, and "Pick" sits in the middle as ordinary text over the drawing. Long publication names need a shorter ring so they fit the lower arc.
Are these real publications?
No. The Jadeley Dispatch, The Tarnmoor Ledger and The Strathwick Review are made up, with their picks and quotes. Use a real publication's stamp only if it allows it, and quote it word for word.
How do screen readers read a pick?
The picks are a list named Editor's picks. A pick reads the publication ("The Jadeley Dispatch, editor's pick"), the date, the headline as a third-level heading and the pull quote as a block quotation. The stamp is a drawing hidden from assistive technology, so nothing depends on it.
Related
- Pro
Coverage Ledger Press Awards
Press and quotesA start-aligned header with a counted tally over a ruled ledger of press stories for a publishing CMS: each row sets the publication as its own wordmark, the headline as a link, a type badge and the date.
- Pro
Masthead Featured Article Awards
Press and quotesA feature article about a newsletter platform set as a clipping: headline, byline, an excerpt with a drop cap and a link, beside a drawn masthead and a description list of publication, section, date and reading time.
- Pro
Chair's Quote Seal Awards
One featured awardOne large quotation from a prize jury's chair for a citation manager, under a heading, with the chair's name and role, beside the programme's seal drawn as a scalloped rosette in a frame.
- Pro
Judges Quotes Testimonials Awards
Press and quotesThree judges' quotations for a meeting app, each tied to the award it is about: the award's drawn mark, the award and programme, the quotation, and the judge's name and role, in cells with overshoot lines.
- Pro
Annotated Seal Awards
Badges and sealsA large drawn seal with a grade, a year ribbon, a serial and the lab and programme set round it on a text path, with four numbered hairline leaders to an ordered list that explains each mark.
- “Pro
Jury Statement Awards
Press and quotesThe jury's statement for each category a legal-drafting tool won: the categories as a radio group at the start, the chosen one's statement as a large quote with its jurors' avatars at the end.