Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Developer Experience Scorecard Changelog Block for React

A framed scorecard table of four build steps with six thin columns for the last six releases, the value now and the change as an arrow and a sign, with a toggle that orders the rows.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

A developer-experience scorecard for React with Base UI, written for Smoothrun, a fictional build tool. A start-aligned header carries a title worked out from the data (how many of four steps got faster in the latest release) and a toggle that orders the rows as listed or with the best change first. Under it a framed table has a row for each step (build time, hot reload, test run, install): six thin columns for the last six releases, newest first with the latest in solid foreground, the value now and the change since the release before as an arrow, a sign and a percentage. Every step says lower is better. It's built from Toggle Group, a native table and Guides, with CSS transitions and your theme's tokens for every colour. For build-tool changelogs, engineering reviews and release notes with numbers. The figures are example data.

FAQ

How do I change the steps and the releases?

Edit STEPS and the release names at the top of the file. A step has a label, a unit and six values, newest first, where lower is better. The columns' heights, the value now, the change since the release before and the title are all worked out from the six numbers. Heights are a share of the row's slowest release, with a small floor so a column never vanishes.

What does the toggle do?

As listed keeps the order in the file; Best change first puts the biggest improvement on top. The rows all have one height, so reordering never moves the page. The choice stays local to the block.

How is a change told without colour?

By an arrow, a sign and words for assistive technology: a step that got faster shows a down arrow and a true minus, a slower one an up arrow and a plus, and one that did not change a dash and 0%. The latest release is the solid column and the other five are a paler solid, so weight carries the order.

How does a screen reader get the columns?

The columns are hidden from assistive technology. Each row's cell also holds the six values in a sentence, newest first, with their unit, and the table has a caption and header cells.

How does it fit on a phone and in a right-to-left layout?

Below the desktop width the table scrolls sideways if it must, the six columns stay, and the change column drops (the title still says how many steps improved). The columns always run left to right, newest first. In a right-to-left layout the text and rows mirror, while versions, dates, percentages and signed changes, which are data, keep their order.

  • Pro

    API Response Time Changelog

    Metrics and charts

    Paired bars for five endpoints on a shared 0 to 400 ms axis, the previous release pale and this one solid, with the change in rolling percent digits, the optimisation behind it and a p50, p95 or p99 toggle that redraws the bars.

  • Pro

    Bundle Size Changelog

    Metrics and charts

    Five releases as stacked horizontal bars split into four chunks, told apart by weight and pattern, with a budget tick, each release's total and change, and a toggle that rolls the sizes between gzip, brotli and raw.

  • Pro

    Four error classes as rows, each a 14-day line split by a release marker with the average after it and the change as an arrow and a sign, plus a switch for one shared scale.

  • Pro

    Three load test runs on one 0 to 800 ms ruler: a line from p50 to p99 with marks at p50, p95 and p99 and a shared SLO line, beside each run's requests per second, error rate and a Pass or Fail badge.

  • Pro

    A table of services in a tinted frame with sortable column heads, 30-day uptime strips, response times and error rates, and a mark and a word on any service that is down.

  • Pro

    Compact Badges Changelog

    Lists and timelines

    The eight latest releases of a ticketing tool as one dense framed table: a mono version badge, a type tag with an icon and a word, what changed and the day it shipped.