Skip to content
shadcn.io

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.

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 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.

How does it fit on a phone?

Below the lg breakpoint the text and the buttons sit above the cells, under a rule, and the cells stay two by two. The buttons wrap onto a second line when they don't fit, and nothing has a fixed width, so it reads down to a 320 px screen.

When should I use it instead of a trust row?

Use it when the certifications are the argument and you want the eye to land on them in turn. When each badge needs a sentence explaining what it covers, Centered Light Trust Row gives every one a tooltip.

  • Pro

    The 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

    A 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

    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.

  • Pro

    A 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

    A 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 offers

    A 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.