Commitments numbered rows — About block
Proabout-commitments-numbered-rows · for about, home pages
Commitments numbered rows
Large numerals, a title and two lines per rule: an ordered list of three to twelve principles; the merchant’s own only
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/about-commitments-numbered-rowsUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import AboutCommitmentsNumberedRows from '@/components/trame/blocks/about/about-commitments-numbered-rows.vue'
const props = {
title: "The rules we hold ourselves to",
lead: "Six rules we have kept since our first year, even when they cost us.",
items: [
{
title: "Few designs, well finished",
text: "Fourteen designs in the catalog, not one more until the others are perfect.",
cost: "What it costs us: a shorter catalog than our competitors’.",
since: "Since 2012",
never: "Never used to: excuse a lack of choice."
},
{
title: "No never-ending sales",
text: "Our prices are the same all year. When a batch is finished, it is retired.",
cost: "What it costs us: the Black Friday order spikes.",
since: "Declined since 2019",
never: "Never used to: advertise a fake discount."
}
],
statement: "Make less, repair more, and say so plainly.",
footnote: "These commitments were last reviewed in October 2026."
}
</script>
<template>
<AboutCommitmentsNumberedRows v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordswhat these are ("What we hold ourselves to") |
| lead | string | Wordsone sentence on why they exist |
| items* | Item[] | commitments the merchant can keep: three to six is ideal |
| statement | string | Wordsa mission or a conviction set above the items |
| footnote | string | Wordsa line stating a limit or when this was last reviewed |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Item items[] · 5 props
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe rule, the value or the refusal ("No permanent sales") |
| text* | string | Wordswhat it means in practice, in a sentence or two |
| cost | string | Wordswhat it costs the merchant, written out ("What it costs us: lower margins") |
| since | string | Wordssince when it holds, written out ("Turned down since 2019") |
| never | string | Wordswhat the word is never used for, written out ("Never used to: sell faster") |
Options options · 2 props
| Prop | Type | Description |
|---|---|---|
| showNumbers | boolean | false: hides the numbers before the commitments |
| 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 |
|---|---|
| label | your word for an interface key, or undefined to keep the block’s own |
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
A about section, for about, home pages; it uses clsx, motion, tailwind-merge.
More about blocks
- Annual letter split: an eyebrow with the period, a title and short parts (what worked, what did not, what comes next): a yearly review the author signs; the merchant’s own only.
- Build criteria questions: how the merchant picks what to build, as four questions: explaining the choices, not listing them.
- Company facts list: a plain label and value list with the claim in prose beside it: the company’s facts in one place; the merchant’s own only.
- Emphasized statement underlined: the conviction set large and centred, one key phrase underlined or highlighted: a short statement with one idea to keep; the merchant’s own only.
- Founder letter: a signed letter in one narrow column, salutation, paragraphs, signature and date: one voice speaking to the customer; the merchant’s own only.
- Intro long prose: a wide headline then up to three paragraphs in a readable column: when there is real story to read.
- Intro rail lead: an editorial about page: the eyebrow as a quiet label in a left rail, the title, a large first paragraph and the others smaller at the right, the action as a text link.
- Intro split title: a short intro where the title and the words weigh the same: a very large title at the left, the paragraphs at the right on its last line.