shadcn.io is not affiliated with official shadcn/ui
Split Compliance Trust Center Hero Block for React
A 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.
Installation
Overview
A split hero with a trust center, for React with Base UI. On the start side, a "Built for audits" badge sits above a bold two-line headline and a subtitle for a fictional access platform, then a Shine Button and an outline Button as links, and the certifications (SOC 2 Type II, ISO 27001, GDPR, HIPAA) as a list of outline Badges, each with a short detail. A hairline divider with a + mark where it meets the top rule separates the copy from a figure on the end side: the platform's trust center drawn in greyscale, in a frame with + marks on its corners, with a row for each report and a status line. Below the split, a band on its own rule holds four security and reliability stats in shared hairline cells. Everything follows the page theme, light on a light theme and dark on a dark one, and the primary colour marks the one action. Each part fades up once on load with CSS transitions, and nothing moves for visitors who ask for reduced motion. Made for enterprise SaaS, security platforms and B2B infrastructure tools whose buyers need to see the certifications before they talk to sales.
FAQ
How do I change the certifications in the row?
Edit the CERTIFICATIONS array at the top of the file: each entry is a name ("SOC 2 Type II") and a short detail ("Audited annually"), shown as one outline Badge in a list item. The row wraps, so three to six certifications fit; on a phone the details drop and only the names show. Only list the ones your organization holds today, and point the "View security page" link at the page where buyers can request the reports.
What is the figure beside the copy, and how do I change it?
It's a picture of a trust center, built from plain elements in greyscale: a header with a status, one row per entry in REPORTS (a name, a detail and a check) and a footer line. It's decoration, so it's hidden from assistive technology, and the certifications that matter are real text in the list beside it. Edit REPORTS to show your own documents, and keep the rows to four so the figure stays about as tall as the copy.
How do I edit the stats below the split?
Each entry in STATS is a value and a label, both plain strings, so "99.99%", "50M+" or "24/7" render exactly as written, in tabular figures. The band is a description list in shared hairline cells: a screen reader reads each value with its label. Keep it to four short values: they sit two by two on a phone and on one row from the md breakpoint.
Is the enterprise hero accessible?
Yes. The headline is the page's one h1. The certifications are a list named "Compliance certifications", so a screen reader announces how many there are before reading them, and the shield icon is hidden from assistive technology. The subtitle and the details use the theme's text-muted-foreground, which passes WCAG AA in light and dark, where faint text at low opacity would not.
Where do the two calls to action go?
Both are links to #: point "Contact sales" at your sales form and "View security page" at your trust center. Each keeps its link role and is named by its text.
On Base UI, each button renders its link with render={<a href="/contact" />} and nativeButton={false}.
How does the hero fit on a phone?
Below the lg breakpoint the divider becomes a rule: the copy comes first, with both buttons on the first screen, then the trust center in a shorter frame, then the stats band. The certification badges wrap, the four stats form a two-by-two grid, and nothing scrolls sideways down to 320px.
Related
- Pro
Left-Heavy Trust Compliance Hero
Logos and social proofA reverse split hero for a compliance tool: a trust center panel of six certifications in a hairline frame beside a checklist and two calls to action, with the copy first on a phone.
- Pro
Concentric Rings Hero
BackdropsA compact, centred hero for a design tool on solid rails: concentric rings breathe behind a headline, a Shine Button and an outline button, over a ruled band of three stats.
- Pro
Centered Trusted By Logo Row Hero
Logos and social proofA compact centered hero built as bands: an announcement pill, a headline, two calls to action and three trust points, then a ruled label and a row of six customer wordmarks in divided cells.
- Pro
Hero With Stats
Stats and live dataA split hero with a headline, a Shine Button and a second action beside a rail of four key figures on shared hairlines, each with its period and a small bar trend.
- Pro
Centered Uptime Status Rows Hero
Stats and live dataA showcase centered hero for an API platform, with a live status pill, a Shine Button and a status panel of full-width bands: five services' uptime over the last 30 days.
- Pro
Checklist Hero
PricingA showcase hero for a single plan: the headline and the price in a card in card, over a grid of eight included features that share their hairlines.