Tailwind UI Pattern Registry for humans and agents

stats comparison bar-chart competitors benchmark performance css-chart metrics comparison bar-chart competitors benchmark performance css-chart metrics versus competitor comparison bar chart section CSS-only benchmark chart with headline number product vs competition stats section

Stats Display Trend Comparison

Fetch pattern JSON: curl https://webspire.de/patterns/stats-display/trend-comparison.json

Details

Family
stats-display
Tier
enhanced
Kind
section
Extends
stats-display/base
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste
Stable Published
statscomparisonbar-chartcompetitorsbenchmarkperformancecss-chartmetrics

Slots

Name Required Description
heading No Optional kicker, bold claim headline, and subtitle.
hero-stat Yes Single dominant number (e.g. "2.5 KB") with label.
bars Yes 4 horizontal bars — 1 highlighted (your product) + 3 competitor bars with inline value labels.
footnote No Source note with measurement date.

Horizontal bar chart built with pure CSS (no chart library). One dominant headline metric at the top, followed by 4 labeled rows: the highlighted product in accent color, 3 competitors in muted tones. Bar widths are inline style percentages — the longest bar is 100%. Different from stats-display/colored-blocks (3 isolated metrics) — this variant tells a competitive story where size/cost/speed comparisons matter.