shadcn.io is not affiliated with official shadcn/ui
Ring Chart Metric Logos Block for React
A retention ring for an expense-report tool in a framed figure beside the claim and three supporting facts, with a closing strip of six customer wordmarks.
Installation
Overview
A ring-chart metric for React with Base UI. A split: at the start, a compact header ("Expense reports teams don't leave" with one sentence) over three supporting facts in a list, and at the end, behind a split divider that runs from the top rule down to the strip, a framed figure with a ring in the text colour, 92% in its middle and what it measures under it. The ring is the catalog's Circular Progress, dressed in foreground tones so the primary colour stays free for a button. On a phone the ring follows the claim and the facts follow the ring. A closing strip of six customer wordmarks in cells that share their hairlines ends the block. Built from Circular Progress, Guides and Lucide icons, with a CSS transition for the entrance and your theme's tokens for every colour. Made for a retention or satisfaction figure that deserves a picture, with the customers named right under it.
FAQ
How do I change the percentage?
Change RENEWAL at the top of the file. The ring's arc takes it as its value and the number in the ring's middle prints the same constant, so they cannot disagree. Edit the caption under the ring and the sentence in the header to say what the percentage measures.
How does a screen reader get the ring?
The ring itself is a drawing and is hidden from assistive technology. What it says is text: the figure's caption reads "of teams renew after year one" and the big number sits inside the same figure, so the percentage and what it measures are read together. The three facts are a description list, each label with its value.
Why is the ring not the primary colour?
Circular Progress draws its arc in the primary colour by default. This block overrides it to the text colour and its track to the text colour at 15%, because the primary colour marks one action per block, and the ring reads better as a quiet figure than as a call to action.
How do I change the facts and the customers?
The facts are FACTS: each entry is a label and a value, written with their units ("2 days", "97%"). The customers are CUSTOMERS: each is a name, an icon (any Lucide icon), a lettering and a mark. Keep the strip at six so its rows are full at two, three and six across. The names are fictional placeholders.
How does the split behave on a phone?
It becomes one column in this order: the header, the ring in its frame, then the facts. A hairline with + marks rules the ring off from the header, and the strip below is two across. The split divider appears from lg, where the claim and the facts are on one side and the ring is on the other.
Related
- Pro
Growth Line Metric Logos
MetricsA team count with a hand-drawn growth line over eight quarters and a last-quarter chip, in an inset frame for an energy-monitoring tool, with six customer wordmarks closing the panel.
- 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
Featured Focal With Metric Trio Logos
Flagship customerA flagship customer for a billing tool in a wide framed card with the modules it runs, closed by a full-width band of three large figures: utilities, years of history and uptime.
- 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
A start-aligned proof block for a payroll tool: a band of four figures between two hairlines, then twelve customer wordmarks as an open wall with no lines of its own.
- Pro
Animated Counter Logos
MetricsOne big count that rolls up once when it scrolls into view, for a meal-kit service that sells to employers, with a closing strip of six employer wordmarks.