shadcn.io is not affiliated with official shadcn/ui
Numbered Ranking Logos Block for React
Ten customers of an onboarding product ranked 01 to 10 in rows that run from rail to rail, each with a counter, a wordmark and its industry, collapsing to five on a phone.
Installation
Overview
A ranked customer list for React with Base UI. A compact header, "The ten teams onboarding the most people", says how the list is ordered, and an ordered list of ten rows runs from rail to rail beneath it. Each row is a band whose top rule meets the rails at + marks: a two-digit counter in a monospace, the customer's wordmark in its own lettering, and its industry at the end; the top three counters are set darker. From md all ten rows show. A phone shows the first five and a ghost button, "Show all ten", that reveals the rest in place. The last row ends the block, so the next section's top rule closes it. Built from Guides and Button, with CSS transitions for the entrance and your theme's tokens for every colour. For a launch roster, a leaderboard of customers or any proof that gets stronger the longer it runs.
FAQ
How is the ranking set?
By the order of CUSTOMERS at the top of the file: the first entry is rank 01. The counter is generated from the index, so reordering the data renumbers the rows. Say in the header what the ranking measures; the sample says new hires onboarded in the last twelve months.
Does a screen reader hear the ranking?
Yes. The rows are an ordered list named "Customers, ranked by new hires onboarded", so a screen reader announces each position itself; the visible counters are hidden from assistive technology so the number isn't read twice.
How does Show all ten work?
Below md only the first five rows show, and a ghost button under the list reveals the other five in place. The button keeps its label and carries aria-expanded and aria-controls for the list, with a chevron that turns over. The hidden rows are removed from the page's reading order with display: none, not left to a screen reader. From md the button is gone and every row shows. PREVIEW sets how many a phone shows.
Can I drop the darker top three?
Yes: set PODIUM to 0 and every counter takes the muted colour, turning darker only on hover. Raise it to mark more rows.
Related
- Pro
Split Vertical List Logos
Maps and listsA headline, one sentence and a Shine Button at the start, and five customers as link rows at the end, each with a wordmark, an industry chip and an arrow.
- Pro
Stacked Rows With Category Labels Logos
Maps and listsCustomers of a print-on-demand book service in three rows by industry on alternating tinted bands, each with a label and a customer count chip, the logos lying open under them.
- Pro
Metric Table Logos
MetricsA captioned table of four outcomes for an insurance-quote product, each with its median and a change chip, beside a column of five insurer wordmarks.
- Pro
Three Flagship Row Logos
Flagship customerThree equal anchor-partner cards for an event-ticketing platform, each with a large mark, the kind of partner, how many teams it serves and how long it has been a partner, under a centred header.
- Pro
Regional Breakdown Rows Logos
Maps and listsCustomers of a land-registry product in four rows, one per region: a label cell with the region, its team count and a thin share bar, then the region's four wordmarks past a hairline.
- Pro
Dot Grid Map Logos
Maps and listsA world map for a freight-forwarding tool, drawn as a grid of dots in a framed figure, with six customer pins at their cities and one chip per region carrying its customer count.