Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Proof Index Social Proof Block for React

Six kinds of proof for a reference-call tool laid out like a table of contents: each row leads from the kind of proof to its number along a solid hairline, with one line of detail and a link to its source.

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 social-proof block for React with Base UI, written for Vouchbook, a fictional tool that sets up reference calls between buyers and a company's customers. The heading and a short paragraph sit at the start of a split; at the end, behind the divider, six kinds of proof form an index that runs from rail to rail, like the contents page of a report. Each row leads from the kind of proof ("Analyst reports") to its number ("4.8 / 5") along a solid hairline, with a line under it saying where the number comes from, and the whole row is a link to its source. A phone stacks the heading over the index under a rule. The index starts at the top rule and ends the block, so the next block's top rule closes it. It's built from Guides, with CSS transitions for the entrance and your theme's tokens for every colour. For about pages and sales pages whose claims should be checkable. All the figures are example data.

FAQ

How do I change the proofs?

PROOFS holds the six rows. Each has a kind, a value, an optional unit shown quieter after the value ("/ 5", "of 12") and a detail line. Point each row's link at the page that backs it up: the kind is the link text.

How is the leader drawn?

It is an empty span with a bottom border that stretches between the kind and the number, so it sits on the text's baseline like the leaders of a table of contents. It is solid, not dotted, and hidden from assistive technology.

How does a screen reader read a row?

The index is a description list: each kind is a term, and the number and the detail are its descriptions, so a row reads "Analyst reports, 4.8 / 5, rated by three independent firms". The leader is not read.

How does it fit on a phone?

The heading comes first and the index follows under a rule from rail to rail. A value never wraps; a long kind wraps and the leader shrinks to a short stub.

Does it work in a right-to-left layout?

Yes. The row mirrors, so the kind is at the right and the number at the left, and each number keeps its own reading order.

  • Pro

    What customers mention most for a review-monitoring tool: six themes ranked with a bar to scale and a count, each opening two word-for-word snippets, with the tally derived from the typed reviews.

  • Pro

    Four review-site ratings for a booking tool, each a drawn rosette with the score in its middle over the site's name, a read-only star rating and its review count, in framed cells.

  • Pro

    Twelve drawn customer wordmarks for a parcel-logistics company in cells that share their hairlines, each opening a hover card with the shop's trade, how long it has been a customer and what it sends.

  • Pro

    A recognition shelf for a grant platform in two tabs: six plaques with a drawn laurel, the prize, who gave it and the year won, or six certifications with a stamped ring and when each renews.

  • Pro

    A framed table of seven company figures for an open-startup tracker: last quarter, this quarter, the computed change and a thin bar toward each target, sortable by metric, change or progress.

  • Pro

    A review summary whose histogram rows are filter buttons: press a star row and the featured reviews narrow to that rating, with a live count and an empty state.