Skip to content
← Testimonial
Edit Testimonial
Name
Also known as (comma separated)
Brief definition
Quoted customer endorsement.
Notes
Tier
Core
Useful
Reference
Deleted
Controls schema (JSON array)
[ { "id": "quote", "type": "text", "label": "Quote", "default": "The onboarding flow alone saved our support team ten hours a week." }, { "id": "name", "type": "text", "label": "Name", "default": "Sam Whitfield" }, { "id": "role", "type": "text", "label": "Role / company", "default": "COO, Ridgeline" }, { "id": "accent", "type": "color", "label": "Accent colour", "default": "#D9C8F0", "presets": [ "#D9C8F0", "#A8E6C1", "#F5C2E0", "#BFD9F2", "#E8A020", "#241430" ] } ]
Templates (JSON object keyed by format)
{ "html": "<figure class=\"testi\">\n <blockquote class=\"testi__quote\">“{{quote}}”</blockquote>\n <figcaption class=\"testi__meta\">\n <span class=\"testi__avatar\" style=\"background:{{accent}};\" aria-hidden=\"true\">SW</span>\n <span><strong class=\"testi__name\">{{name}}</strong><br /><span class=\"testi__role\">{{role}}</span></span>\n </figcaption>\n</figure>\n<style>\n.testi { font: 16px/1.5 system-ui, sans-serif; color: #241430; max-width: 340px; margin: 0; padding: 22px; border-radius: 14px; background: #FAF7F2; border: 1px solid #24143022; }\n.testi__quote { margin: 0 0 16px; font-size: 17px; font-weight: 500; }\n.testi__meta { display: flex; align-items: center; gap: 10px; }\n.testi__avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; font-size: 12px; font-weight: 700; flex-shrink: 0; }\n.testi__name { font-size: 14px; }\n.testi__role { font-size: 13px; color: #241430aa; }\n</style>", "tailwind": "<figure class=\"m-0 font-sans text-[#241430] max-w-[340px] p-5.5 rounded-2xl bg-[#FAF7F2] border border-[#24143022]\">\n <blockquote class=\"m-0 mb-4 text-[17px] font-medium\">“{{quote}}”</blockquote>\n <figcaption class=\"flex items-center gap-2.5\">\n <span class=\"inline-flex items-center justify-center w-[38px] h-[38px] rounded-full text-xs font-bold flex-shrink-0\" style=\"background:{{accent}};\" aria-hidden=\"true\">SW</span>\n <span><strong class=\"text-sm\">{{name}}</strong><br /><span class=\"text-[13px] text-[#241430]/65\">{{role}}</span></span>\n </figcaption>\n</figure>", "react": "export function Testimonial({\n quote = \"{{quote}}\",\n name = \"{{name}}\",\n role = \"{{role}}\",\n accent = \"{{accent}}\",\n}) {\n return (\n <figure style={{ font: \"16px/1.5 system-ui, sans-serif\", color: \"#241430\", maxWidth: 340, margin: 0, padding: 22,\n borderRadius: 14, background: \"#FAF7F2\", border: \"1px solid #24143022\" }}>\n <blockquote style={{ margin: \"0 0 16px\", fontSize: 17, fontWeight: 500 }}>“{quote}”</blockquote>\n <figcaption style={{ display: \"flex\", alignItems: \"center\", gap: 10 }}>\n <span aria-hidden=\"true\" style={{ display: \"inline-flex\", alignItems: \"center\", justifyContent: \"center\",\n width: 38, height: 38, borderRadius: \"50%\", fontSize: 12, fontWeight: 700, flexShrink: 0, background: accent }}>SW</span>\n <span><strong style={{ fontSize: 14 }}>{name}</strong><br /><span style={{ fontSize: 13, color: \"#241430aa\" }}>{role}</span></span>\n </figcaption>\n </figure>\n );\n}" }
Save
History