Principles refusals — About block
Proabout-principles-refusals · for about, home pages
Principles refusals
Cards of things the brand does not do, each with its date: a list of dated refusals; 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-principles-refusalsUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import AboutPrinciplesRefusals from '@/components/trame/blocks/about/about-principles-refusals.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 styles, well finished",
text: "Fourteen styles in the catalog, and 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 run is finished, it’s retired.",
cost: "What it costs us: the Black Friday order spikes.",
since: "Refused since 2019",
never: "Never used to: advertise a fake discount."
}
],
statement: "Make less, repair more, and say it plainly.",
footnote: "These commitments were last reviewed in October 2026."
}
</script>
<template>
<AboutPrinciplesRefusals 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 · 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 |
|---|---|
| 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
- Pictures side portrait: one tall picture of a person or a room beside the words: a founder, a maker or a single place; the merchant’s own pictures only.
- Pictures staggered collage: a narrow column of words beside small pictures set at three heights in a loose diagonal: a young, informal brand with five or six snapshots; the merchant’s own pictures only.
- Pictures trio row: centred words over a row of pictures of unequal heights resting on one line: a team or a place told in three pictures; the merchant’s own pictures only.
- Pictures wide cover: the title and the words side by side above one wide picture: one story carried by one strong picture of the place; the merchant’s own pictures only.
- Signed story quote feature: the signed quote set very large as the headline, the story in two short columns below: when one real sentence says the brand better than any text.
- Signed story text quote: the story in prose beside a signed quote: when a real person said something worth printing.
- Story facts text facts: the story in prose beside one to four true figures, hairline divided: when a few facts carry the brand.
- Workshop story photo split: the place or the workshop in a picture beside the words, values and facts under it: when a good picture exists.