shadcn.io is not affiliated with official shadcn/ui
Left Right CTA with Compliance Badges Block for React
A 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.
Installation
Overview
A security call to action for React with Base UI, split in two by a solid divider that meets the top rule. At the start, a headline, one line about audits, a Shine Button "View the security page" and an outline "Contact sales". At the end, four cells on shared hairlines, one per certification (SOC 2, ISO 27001, GDPR and HIPAA), each with a short line of what it covers. The marks are stamped on one after another like a rubber stamp, each landing when the one before has settled. On narrow screens the cells stack under the text, below a rule. It's built from Stamp Text, Shine Button, Button and Guides with CSS animation and your theme's tokens for every colour, so it is light on a light page and dark on a dark one. Use it for enterprise and procurement pages, where buyers look for proof before they look for a price.
FAQ
How do I change the certifications?
Edit MARKS at the top of the file: a mark and a line of detail for each, in the order they're stamped. Each is a list item in a list named "Certifications", so a screen reader hears the four of them; the stamping is decoration over text that's always there. List only certifications you hold: the marks here are examples.
How are they stamped one by one?
Each mark's text is a Stamp Text. The block keeps the number of marks that have landed, and starts the next one when the last character of the one before settles, so a mark can never overlap its neighbour. The boxes are all drawn from the start, with the waiting texts hidden, so nothing moves as they land. Each box keeps to the top of its cell, so the four marks line up. The four take about a second and a half in all.
What happens with reduced motion, or without JavaScript?
With reduced motion the marks aren't animated: Stamp Text reports each one as complete at once, so all four are there straight away, still leaning a few degrees like a stamp pressed by hand. Without scripting the first mark is stamped by CSS alone and the other three are shown as plain text.
Where do the links go?
Both are links (href="#"): point Contact sales at your sales form and the security page at where your reports and policies live.
Each renders the link it's given with render, with nativeButton={false}.
Related
- Pro
Left Right Row CTA
Slim bandsThe baseline left-right call to action: a split between solid rails with a headline and one line at the start and, past a divider, a tinted cell at the end that holds the Shine Button over an outline action.
- Pro
Left Right CTA with Eyebrow Pill
Card in cardA card-in-card call to action that follows your theme: a headline with a quiet outline pill that links to a customer story, one sentence, and the Shine Button with an outline action at the end.
- Pro
Centered Light Trust Row CTA
Trust and securityA 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.
- 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
Left Right CTA with Live Status Pill
Trust and securityA band call to action between solid rails: a headline, a sentence and a pulsing status pill that opens a popover of four services, with the Shine Button and an outline action at the end.
- Pro
Compact Left Right CTA
Prices and offersA slim renewal band between solid rails with a Shine Button and an outline link on the end side, and a closing band of three cells that sets the two prices and the saving side by side.