shadcn.io is not affiliated with official shadcn/ui
Metric Split Logos Block for React
An oversized figure and two buttons at the start, a column of six customer wordmarks at the end past a divider, for a dependency-graph product.
Installation
Overview
A metric split for React with Base UI. At the start, a figure at display size, "9,400+ teams map their dependencies with Treecreeper", a short line under it and two calls to action: a Shine Button and an outline button. At the end, past a divider that meets the page's top rule at + marks, six customer wordmarks, one to a row between shared hairlines, the rows stretched to the height of the figure. Each wordmark is real text in its own lettering with an icon beside it, above it, after it, in a ring or knocked out of a badge, muted until hovered. On a phone the figure comes first and the six wordmarks follow in cells, two across and three down; the last row ends the block. Built from Guides, Shine Button and Button, with CSS transitions for the entrance and your theme's tokens for every colour. For a product with one number worth shouting and a short, strong roster.
FAQ
How do I change the figure?
It is the first words of the h2: a large span holding a bdi, then a second span with the sentence. Change the text and keep the figure in its bdi, so the plus sign stays put in a right-to-left layout. Because the figure is part of the heading, a screen reader reads the whole claim in one go.
Why six customers?
Six fill the column in every layout without a gap: six rows from lg, three rows of two on a phone and two rows of three at sm. The cells share their hairlines, so the wall has to fill every row, or the border colour shows through the empty cell. Keep CUSTOMERS at six, or any multiple of six.
Where do the buttons go?
Both are links (href="#"): point the Shine Button at your case studies and the outline button at your contact page.
Each button renders the link it's given with render, with nativeButton={false}.
Why does the divider reach the top rule?
The page column carries no padding of its own: the figure's cell and the logo column each pad themselves, so the divider starts at the top rule and meets it at a + mark. On a phone, where the parts stack, a rule with its own marks sits between them instead.
Is the block accessible?
Yes. The figure and its sentence are the h2, the customers are a list named "Customers" whose items are the company names (the icons are hidden from assistive technology), and the two buttons are real links with visible focus. The names use the theme's muted text colour at full strength, which passes WCAG AA on the page background.
Related
- 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
Metric Hero Strip Logos
MetricsA giant static member count for a loyalty platform under a centred header with two buttons, then a band of three secondary figures and a closing strip of eight customer wordmarks.
- 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
Numbered Ranking Logos
Maps and listsTen 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.
- Pro
A benchmark for a streaming-analytics tool: three tiles that set the product against the industry average with a large figure and two bars each, a header row with two buttons, and a closing strip of eight wordmarks.
- Pro
Split Tall Tiles Logos
SplitsFour customers as tall tiles held apart at the start, each its own hairline box with a Since line, and a headline, one sentence and a Shine Button at the end.