shadcn.io is not affiliated with official shadcn/ui
Centered Light Trust Row CTA Block for React
A centred statement call to action for an accessibility scanner: a big headline, the Shine Button and an outline button, then a framed row of four trust cells on shared hairlines that each open a short note on what they cover.
Installation
Overview
A centred call to action that answers the objection before it's raised, for React with Base UI. Between the page rails, a one-line statement headline ("Make your product accessible to everyone"), a sentence with a bold lead, a Shine Button and an outline button sit centred, and below them a frame of hairlines with + marks on its corners holds four trust cells on shared hairlines: WCAG 2.2 AA, SOC 2 report, single sign-on and data export. Each cell is a button: press it and a small note says exactly what it covers, so the claim and its meaning sit together instead of a logo row that asks to be taken on faith. The cells go two by two on a phone. It's built from Shine Button, Button, Toggle Tooltip and Guides, with CSS transitions for the entrance and your theme's tokens for every colour. For security-minded and compliance-led products where proof has to be one tap away.
FAQ
How do the cells open their notes?
Each cell is a real button that opens a small note above it with a click, a tap, Enter or Space, and closes with Escape or a click elsewhere, returning focus to the cell. Nothing depends on hover, so it works on a phone and with a keyboard. The note is named after the cell, and the cell's name ends with "what it covers" for screen readers.
How do I change the cells and what they say?
Edit CHIPS at the top of the file: each entry has an icon, a label and the note's text. The grid is built from the list (four columns from sm, two below it, so keep an even count). Only list what's true: a cell is a claim, and the note is where a reader checks it. Replace the SOC 2 and sign-on notes with your own facts, or remove the cells you can't back.
Where do the buttons go?
Both are links (href="#"): send the Shine Button to your sign-up or audit form and the outline one to a walkthrough.
Each renders the link it's given with render, with nativeButton={false}.
How is the row announced?
It's a list named "Trust and compliance", so a screen reader says how many cells there are and moves through them one by one. The icons are decorative and the list has no heading of its own: the section's heading is the headline above.
How does it fit on a phone?
The buttons wrap onto new lines and stay centred, the headline steps down from text-5xl to text-3xl, and a note is at most 16 rem wide and moves to stay on screen. Below sm the four cells take two rows of two, down to 320 px. In a right-to-left layout the grid and the notes mirror.
Related
- Pro
Centered Light Link Secondary CTA
With a closing bandA centred statement for a notes app: a large headline, the Shine Button and a quiet changelog link beneath it whose underline grows from the middle, over a framed roadmap peek.
- Pro
Left Right CTA with Compliance Badges
Trust and securityA split call to action between solid rails: the pitch, a Shine Button and an outline link at the start, and four certification cells on shared hairlines at the end whose marks are stamped on one after another.
- Pro
Card Inset Shield Trust List CTA
Trust and securityA centred card-in-card guarantee that follows your theme: a headline naming the refund window over a band of three terms on shared hairlines, each promise with its value at display size, and one Shine Button.
- Pro
Dual Action CTA
Slim bandsA band call to action between solid rails with one split button: a Shine Button Get started link joined to a chevron that opens a menu of other routes, beside a headline and a sentence, in your theme.
- Pro
Split Compliance Trust Center Hero
Logos and social proofA split hero for compliance-minded buyers between solid rails: a headline, a Shine Button and certification badges beside a framed trust-center figure, over a band of four stats in shared hairline cells.
- Pro
Shield Seal CTA
Trust and securityA band guarantee call to action: the headline, a Shine Button and an outline link on the start side, and a flush tinted cell on the end side with a seal of text turning slowly round a shield, with a pause button.