Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Time-to-Result Comparison About Block for React

Three ways to a first data pipeline, each with an approach, a time-to-result bar on one shared scale, and a line for what it takes to keep.

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

Three ways to a first result for React with Base UI, written for Ramplane, a fictional data-pipeline product. A centred header sits over three columns: Ramplane, a consultancy, and building it yourselves. Each column states the approach, draws "time to first result" as a bar on one scale (the longest of the three, in days), and closes with an upkeep line. The bars stay full width when the columns stack on a phone. It's built from Guides and a description list, with a CSS entrance on the header and your theme's tokens for every colour. For an about page that should compare an approach with the two a buyer already has in mind. The durations are example data.

FAQ

How do I change the three ways?

They are WAYS: a title, the approach, days for the bar, the words the duration is read in (when) and an upkeep line. The scale is the largest days value. Change a duration and that bar, and the scale under the columns, follow. The words "2 days", "6 weeks" and "4 months" are the reading; the days are what the bar uses.

How do the bars share a scale?

Every bar is that way's days divided by the longest way. Four months is the full bar, six weeks is 42 of those 120 days, and two days is a short mark on the same track. A short bar is still honest because the words beside it say "2 days".

How is it read by a screen reader?

The heading is an h2, and each way is an h3. Time to first result and upkeep are a description list. The bar is hidden, and the duration is read as the words plus the day count on the shared scale, so the length of the bar is not the only source of the fact.

How does it fit on a phone?

The three columns stack. Each one after the first opens with a top rule, and the bar inside it stays the full width of the column. On a wide screen a hairline with corner marks divides the columns. Nothing scrolls sideways at 320 pixels.

What does a longer bar mean?

A longer bar is a longer time to the first trustworthy row. It is not a score, and the block does not mark a way with a check or a cross. The upkeep line says what it takes to keep that way running.

What moves, and what happens with reduced motion?

The header fades up once on load. The columns do not. With reduced motion the fade is off. Nothing loops.

  • Pro

    Mission About

    Statements

    A mission statement for a home-care scheduling company: the mission in large type beside one supporting sentence, three pillars that each carry the figure they are checked by, and a founding line in relative time.

  • Pro

    Severity Ladder SLA About

    Support and contact

    An incident tool's four severities as bands, each with its response and resolution drawn as bars to scale on one log time axis, a compliance figure and a framed note on credits.

  • Pro

    Phase Tabs Approach

    Principles and process

    A process section for a product studio: four numbered phase tabs, and under the open one a split panel with what the studio does, what the client gets and who is in the room.

  • Pro

    Principles Rail About

    Principles and process

    A split about section for a release-management tool: a sticky title at the start, and six principles as stations on a hairline rail, each opening to what it means and how it shows up.

  • Pro

    Commitments Ledger About

    Principles and process

    A ledger of a nonprofit CRM's public promises: an ordered list of rows with the promise, how far along it is as a word and a progress bar, who owns it and when it was last checked, and a tally counted from the rows.

  • Pro

    An eight-row comparison of a project suite with an unnamed typical tool, with real values, a monochrome check or dash, a count of where it leads and a Switch that shows only the rows that differ.