Enterprise trust capability grid — Trust and logos block
Freetrust-enterprise-trust-capability-grid · for landing, app pages
Enterprise trust capability grid
Icon cards that say how identity, audit, residency or roles work rather than "yes": a technical reviewer
Documentation
Installation
One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).
pnpm dlx shadcn-vue@latest add @trame/trust-enterprise-trust-capability-gridUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import TrustEnterpriseTrustCapabilityGrid from '@/components/trame/blocks/trust/trust-enterprise-trust-capability-grid.vue'
const props = {
eyebrow: "For enterprises",
title: "What your IT department will want to know",
lead: "Precise answers, documents ready to forward, and a contact who knows your situation.",
items: [
{
title: "Hosted in the United States",
text: "Your workspace data stays in two US data centers, with no copy outside the country.",
status: "compliant",
icon: "globe",
meta: "Scope: production and backups",
action: {
label: "Read the details",
action: "security",
record: {
id: "hosting"
}
}
},
{
title: "Single sign-on",
text: "Sign in through your identity provider, with automatic account provisioning and deprovisioning.",
status: "certified",
icon: "key",
meta: "SAML and OpenID Connect protocols"
}
],
stats: [
{
value: "4 weeks",
caption: "average pilot"
},
{
value: "1 business day",
caption: "for a first reply"
}
],
primary: {
label: "Talk to an advisor",
action: "contact"
},
secondary: {
label: "See the security page",
action: "security"
},
footnote: "Scopes and audit dates are stated in each document."
}
</script>
<template>
<TrustEnterpriseTrustCapabilityGrid v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| eyebrow | string | Wordswhat this is ("For businesses") |
| title* | string | Wordsthe section’s title, in a few words ("What your IT team will want to know") |
| lead | string | Wordsone or two sentences under the title: who it reassures and about what |
| items* | Item[] | the items shown, in order |
| stats | Stat[] | the stats shown, in order |
| primary | Primary | the main button: its words and the page action it runs |
| secondary | Secondary | a quieter second action beside the main one: its words and the page action |
| footnote | string | Wordssmall print (scope, dates of the audits, conditions) |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Item items[] · 9 props
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe claim’s name ("Hosted in France") |
| text | string | Wordswhat it means precisely: the mechanism, the scope, not a bare "yes" |
| status | 'certified' | 'compliant' | 'in-progress' | only for a certification, exactly as it stands |
| statusLabel | string | Wordsthe status in the merchant’s words, when the interface’s default does not fit |
| meta | string | Wordsa date line or a file note, as the merchant wrote it ("Audit of 12 March", "PDF · 2 MB") |
| icon | 'shield' | 'key' | 'database' | 'scroll' | 'users' | 'globe' | 'lock' | 'server' | 'file' | 'fingerprint' | Designthe icon of a capability or a document |
| points | string[] | Wordsdeployment-cards: the option’s points |
| tradeoff | string | Wordsdeployment-cards: the honest price of the option ("Updates within 48 h") |
| action | Action | the item’s call to action: its words and the page action |
Action items[].action · 3 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordswhat happens ("Talk to an adviser") |
| action* | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action opens, if any |
Stat stats[] · 2 props
| Prop | Type | Description |
|---|---|---|
| value* | string | Wordsthe figure, exactly as the merchant states it |
| caption* | string | Wordswhat it measures |
Primary primary · 3 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordswhat happens ("Talk to an adviser") |
| action* | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action opens, if any |
Secondary secondary · 3 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordswhat happens ("Talk to an adviser") |
| action* | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action opens, if any |
Options options · 1 props
| Prop | Type | Description |
|---|---|---|
| mood | 'inverse' | 'brand' | 'warm' | 'tint' | string | a band of the page that redefines the theme surfaces inside it |
What it asks your app for
The block never knows your app: it asks it, through one context provided once, where its links lead, what its actions do, how a price reads and which words to say (The host context).
| Member | What it is for |
|---|---|
| href | the address an action leads to, or null to hide what leads there |
| act | runs a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error } |
| can | whether the page has this action |
| Link | your router’s link component |
| cartCount | the cart badge’s number |
| cartDrawer | whether your app has a cart drawer |
| cartOpen | whether the cart drawer is open |
| label | your word for an interface key, or undefined to keep the block’s own |
The words it says itself, in English and French; label(key) replaces any of them:
| Key | English | French |
|---|---|---|
| newsletter.already | You are already subscribed. | Vous êtes déjà inscrit. |
| newsletter.done | Done: you are subscribed. | C’est noté : vous êtes inscrit. |
| newsletter.invalid | Check the email address. | Vérifiez l’adresse e-mail. |
| newsletter.tooMany | Too many attempts, try again in a moment. | Trop de tentatives, réessayez dans un moment. |
Features
- Every word in the server HTML
- Same markup in Vue and React
- Theme tokens only: every theme, light and dark
- Shows what you give it, invents nothing
- Subtle motion: one short reveal; still under reduced motion
- Real buttons and links, a visible focus
- Asks your app through actions:
items[].action,primary,secondary
A trust and logos section, for landing, app pages; it uses @lucide/vue, class-variance-authority, clsx, motion, reka-ui, tailwind-merge.
More trust and logos blocks
- Backers index: a typographic register, one big name per row with its role and note beside it: few backers, no logos, a sober tone.
- Backers portraits: round portraits in a row with the name and role under them: backers who are people (founders, business angels).
- Backers roll: cards with the logo or monogram, the name, the role and a line: three to nine backers of mixed kinds.
- Badges checklist: a titled two-column list of check items on cards, for the cart or the checkout side; the merchant’s own only.
- Badges list compact: a vertical icon list, left aligned, for a product page column or a cart drawer; the merchant’s own only.
- Badges row: a compact strip under a hero or in the cart: three to six icon-led commitments side by side; the merchant’s own only.
- Logo strip inline: one slim line with a small label, under a hero: the quietest proof; the merchant’s own only.
- Logo strip marquee: eight logos or more passing in a row, paused on hover, on focus and by its button: a landing showcase; the merchant’s own only.