Manifesto split — About block

Pro

about-manifesto-split · for home, about, landing pages

Manifesto split

The conviction beside a tall picture of the brand (its workshop, its people, its ground); 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-manifesto-split

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import AboutManifestoSplit from '@/components/trame/blocks/about/about-manifesto-split.vue'

const props = {
text: "We believe a well-made garment never needs replacing. We cut it in small runs, repair it for life, and would rather sell less, but better, to people who will wear it for years.",
options: {
eyebrow: "What we believe",
signature: "Camille and Julien",
role: "founders of the workshop",
image: "https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?w=1600&q=80",
alt: "Inside a clothing shop, racks under pendant lights"
}
}
</script>

<template>
<AboutManifestoSplit v-bind="props" />
</template>

Props

Each prop says who changes it: Words, Picture, Action, Design, Data.* required.

PropTypeDescription
text*stringWordsthe conviction itself, 1 to 4 sentences (20 to 60 words), in the merchant’s own voice: one paragraph
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Options options · 6 props
PropTypeDescription
eyebrowstringWordsa few words naming it, the section’s heading ("What we believe", "Why we exist")
signaturestringWordswho says it: a founder’s or the team’s name, as the merchant gives it
rolestringWordsthe signature’s role ("founder", "the workshop team")
imagestringPicturesplit: the tall picture beside the words (without it, set like lit); lit and underlined: a wide picture under them
altstringWordsthe picture’s description, when it says something the words do not (empty: decorative)
mood'inverse' | 'brand' | 'warm' | 'tint' | stringa 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).

MemberWhat it is for
hrefthe address an action leads to, or null to hide what leads there
actruns a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error }
canwhether the page has this action
asseta picture’s address as your app serves it
cartCountthe cart badge’s number
cartDrawerwhether your app has a cart drawer
cartOpenwhether the cart drawer is open
labelyour 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:

KeyEnglishFrench
newsletter.alreadyYou are already subscribed.Vous êtes déjà inscrit.
newsletter.doneDone: you are subscribed.C’est noté : vous êtes inscrit.
newsletter.invalidCheck the email address.Vérifiez l’adresse e-mail.
newsletter.tooManyToo 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
  • Expressive motion, within its budget; still under reduced motion
  • Real buttons and links, a visible focus

A about section, for home, about, landing pages; it uses clsx, motion, tailwind-merge.

Built with

The components this block is made of; each one installs on its own too.

More about blocks

  • 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.
  • Intro statement: one very large sentence and a supporting line, nothing else: a strong conviction between two sections.
  • Makers maker cards: one card per maker with the workshop’s picture, or its initials when there is none, then the name, the place, what they make and the year and audit at its foot: a handful of makers the merchant can show; the merchant’s own only.
  • Makers partner list: rows of name, place and what they make, with the year and the audit in small figures: the real list of makers.
  • Personal intro client ledger: a small round portrait and the role, the bio in two columns, then a ruled ledger of clients and project counts: a freelancer whose track record is the argument; the person’s own clients and counts only.
  • Personal intro portrait left: a tall portrait beside the name, the bio and a row of facts, the work and the clients under them: a maker or a freelancer whose face is the brand; the person’s own clients only.
  • Personal intro wide cover columns: the name set large over one wide picture of the person at work, then three columns (about, bio, facts and clients): a studio-like portfolio page with a strong picture; the person’s own clients only.
  • Phrase band one row: one line of the brand’s phrases in very large type passing slowly across the full width between two hairlines, still and wrapped below the expressive level: a pause between two sections that says the house’s voice in a few words (the merchant’s own phrases only).

All 35 about blocks