A rating line and a short heading over a row of up to four large figures, closed by a row of trust badges.
stats, numbers, metrics, social-proof, rating, trust
npx shadcn@latest add https://ner.sh/r/stats-proof.json{
"registries": {
"@nertia": "https://ner.sh/r/{name}.json"
}
}npx shadcn@latest add @nertia/stats-proofnpm create nersh@latest my-site -- --site https://nertia.ai/components/stats/stats-proof/site.json scaffolds a project from it.{
"slug": "stats-proof",
"mode": "builder",
"status": "draft",
"skinId": "zinc",
"composition": {
"id": "stats-proof",
"sections": [
{
"id": "layout-section",
"instanceId": "proof-band-r1",
"layout": "stack",
"children": [
{
"id": "layout-container",
"instanceId": "proof-intro-r1",
"layout": "stack",
"children": [
{
"id": "block-rating",
"instanceId": "proof-rating-r1"
},
{
"id": "block-heading",
"instanceId": "proof-heading-r1"
},
{
"id": "block-text",
"instanceId": "proof-sub-r1"
}
]
},
{
"id": "layout-container",
"instanceId": "proof-grid-r1",
"layout": "grid-4",
"children": [
{
"id": "block-stat",
"instanceId": "proof-stat-1-r1"
},
{
"id": "block-stat",
"instanceId": "proof-stat-2-r1"
},
{
"id": "block-stat",
"instanceId": "proof-stat-3-r1"
},
{
"id": "block-stat",
"instanceId": "proof-stat-4-r1"
}
]
},
{
"id": "layout-container",
"instanceId": "proof-trust-r1",
"layout": "cluster",
"children": [
{
"id": "block-badge",
"instanceId": "proof-badge-1-r1"
},
{
"id": "block-badge",
"instanceId": "proof-badge-2-r1"
},
{
"id": "block-badge",
"instanceId": "proof-badge-3-r1"
}
]
}
],
"component": "stats-proof@1"
}
]
},
"copy": {
"proof-band-r1.coverImage": "",
"proof-band-r1.coverStyle": "",
"proof-band-r1.coverScrim": "",
"proof-band-r1.anchor": "",
"proof-band-r1.navLabel": "",
"proof-band-r1.navHref": "",
"proof-band-r1.navSkip": "",
"proof-band-r1.landmark": "",
"proof-band-r1.tone": "",
"proof-band-r1.gutter": "",
"proof-band-r1.shape": "",
"proof-band-r1.padding": "",
"proof-band-r1.sticky": "",
"proof-band-r1.reveal": "",
"proof-band-r1.dismissible": "",
"proof-band-r1.width": "",
"proof-band-r1.gradient": "",
"proof-intro-r1.align": "center",
"proof-intro-r1.phone": "",
"proof-rating-r1.stars": "5",
"proof-rating-r1.text": "Rated five stars by customers",
"proof-rating-r1.href": "",
"proof-rating-r1.starsPosition": "",
"proof-heading-r1.text": "By the numbers",
"proof-heading-r1.level": "h2",
"proof-sub-r1.text": "One sentence that introduces this section.",
"proof-sub-r1.textStyle": "",
"proof-grid-r1.align": "",
"proof-grid-r1.phone": "",
"proof-stat-1-r1.value": "1,200",
"proof-stat-1-r1.label": "Number one",
"proof-stat-1-r1.delta": "",
"proof-stat-1-r1.deltaTone": "",
"proof-stat-2-r1.value": "98%",
"proof-stat-2-r1.label": "Number two",
"proof-stat-2-r1.delta": "",
"proof-stat-2-r1.deltaTone": "",
"proof-stat-3-r1.value": "24",
"proof-stat-3-r1.label": "Number three",
"proof-stat-3-r1.delta": "",
"proof-stat-3-r1.deltaTone": "",
"proof-stat-4-r1.value": "",
"proof-stat-4-r1.label": "",
"proof-stat-4-r1.delta": "",
"proof-stat-4-r1.deltaTone": "",
"proof-trust-r1.align": "center",
"proof-trust-r1.phone": "",
"proof-badge-1-r1.text": "Trust point one",
"proof-badge-1-r1.href": "",
"proof-badge-1-r1.style": "",
"proof-badge-1-r1.placement": "",
"proof-badge-2-r1.text": "Trust point two",
"proof-badge-2-r1.href": "",
"proof-badge-2-r1.style": "",
"proof-badge-2-r1.placement": "",
"proof-badge-3-r1.text": "Trust point three",
"proof-badge-3-r1.href": "",
"proof-badge-3-r1.style": "",
"proof-badge-3-r1.placement": ""
}
}
{
"slug": "stats-proof",
"mode": "builder",
"status": "draft",
"skinId": "zinc",
"composition": {
"id": "stats-proof",
"sections": [
{
"id": "layout-section",
"instanceId": "proof-band-r1",
"layout": "stack",
"children": [
{
"id": "layout-container",
"instanceId": "proof-intro-r1",
"layout": "stack",
"children": [
{
"id": "block-rating",
"instanceId": "proof-rating-r1"
},
{
"id": "block-heading",
"instanceId": "proof-heading-r1"
},
{
"id": "block-text",
"instanceId": "proof-sub-r1"
}
]
},
{
"id": "layout-container",
"instanceId": "proof-grid-r1",
"layout": "grid-4",
"children": [
{
"id": "block-stat",
"instanceId": "proof-stat-1-r1"
},
{
"id": "block-stat",
"instanceId": "proof-stat-2-r1"
},
{
"id": "block-stat",
"instanceId": "proof-stat-3-r1"
},
{
"id": "block-stat",
"instanceId": "proof-stat-4-r1"
}
]
},
{
"id": "layout-container",
"instanceId": "proof-trust-r1",
"layout": "cluster",
"children": [
{
"id": "block-badge",
"instanceId": "proof-badge-1-r1"
},
{
"id": "block-badge",
"instanceId": "proof-badge-2-r1"
},
{
"id": "block-badge",
"instanceId": "proof-badge-3-r1"
}
]
}
],
"component": "stats-proof@1"
}
]
},
"copy": {
"proof-band-r1.coverImage": "",
"proof-band-r1.coverStyle": "",
"proof-band-r1.coverScrim": "",
"proof-band-r1.anchor": "",
"proof-band-r1.navLabel": "",
"proof-band-r1.navHref": "",
"proof-band-r1.navSkip": "",
"proof-band-r1.landmark": "",
"proof-band-r1.tone": "",
"proof-band-r1.gutter": "",
"proof-band-r1.shape": "",
"proof-band-r1.padding": "",
"proof-band-r1.sticky": "",
"proof-band-r1.reveal": "",
"proof-band-r1.dismissible": "",
"proof-band-r1.width": "",
"proof-band-r1.gradient": "",
"proof-intro-r1.align": "center",
"proof-intro-r1.phone": "",
"proof-rating-r1.stars": "5",
"proof-rating-r1.text": "Rated five stars by customers",
"proof-rating-r1.href": "",
"proof-rating-r1.starsPosition": "",
"proof-heading-r1.text": "By the numbers",
"proof-heading-r1.level": "h2",
"proof-sub-r1.text": "One sentence that introduces this section.",
"proof-sub-r1.textStyle": "",
"proof-grid-r1.align": "",
"proof-grid-r1.phone": "",
"proof-stat-1-r1.value": "1,200",
"proof-stat-1-r1.label": "Number one",
"proof-stat-1-r1.delta": "",
"proof-stat-1-r1.deltaTone": "",
"proof-stat-2-r1.value": "98%",
"proof-stat-2-r1.label": "Number two",
"proof-stat-2-r1.delta": "",
"proof-stat-2-r1.deltaTone": "",
"proof-stat-3-r1.value": "24",
"proof-stat-3-r1.label": "Number three",
"proof-stat-3-r1.delta": "",
"proof-stat-3-r1.deltaTone": "",
"proof-stat-4-r1.value": "",
"proof-stat-4-r1.label": "",
"proof-stat-4-r1.delta": "",
"proof-stat-4-r1.deltaTone": "",
"proof-trust-r1.align": "center",
"proof-trust-r1.phone": "",
"proof-badge-1-r1.text": "Trust point one",
"proof-badge-1-r1.href": "",
"proof-badge-1-r1.style": "",
"proof-badge-1-r1.placement": "",
"proof-badge-2-r1.text": "Trust point two",
"proof-badge-2-r1.href": "",
"proof-badge-2-r1.style": "",
"proof-badge-2-r1.placement": "",
"proof-badge-3-r1.text": "Trust point three",
"proof-badge-3-r1.href": "",
"proof-badge-3-r1.style": "",
"proof-badge-3-r1.placement": ""
},
"ds": {}
}
import type { SectionRegistry } from '@nersh/render';
import { Component as BlockBadge } from '@/sections/block-badge/Component';
import { Component as BlockHeading } from '@/sections/block-heading/Component';
import { Component as BlockRating } from '@/sections/block-rating/Component';
import { Component as BlockStat } from '@/sections/block-stat/Component';
import { Component as BlockText } from '@/sections/block-text/Component';
import { Component as LayoutContainer } from '@/sections/layout-container/Component';
import { Component as LayoutSection } from '@/sections/layout-section/Component';
export const registry: SectionRegistry = {
'block-badge': BlockBadge,
'block-heading': BlockHeading,
'block-rating': BlockRating,
'block-stat': BlockStat,
'block-text': BlockText,
'layout-container': LayoutContainer,
'layout-section': LayoutSection,
};
"use client";
import { SiteRenderer } from "@nersh/render";
import { registry } from "./stats-proof.registry";
import siteJson from "./stats-proof.site.json";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const site = siteJson as any;
export default function StatsProof() {
return <SiteRenderer site={site} registry={registry} />;
}