Chapters bands — Features block

Pro

features-chapters-bands · for home, landing, product pages

Chapters bands

The same stages as a calm editorial sequence, each opening on a ruled header row and one full-bleed picture with its features in an even row below: when every stage has a strong wide picture, and on dark or brand bands

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/features-chapters-bands

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import FeaturesChaptersBands from '@/components/trame/blocks/features/features-chapters-bands.vue'

const props = {
eyebrow: "The whole workflow",
title: "From one recording to every language your viewers speak",
intro: "Record once, translate with your own voice, fix a line in minutes and publish every version from a single link.",
chapters: [
{
name: "Record",
title: "Start from one take, in your own voice",
text: "Write, rehearse and record the original once. Everything that follows is built on that take, so it has to be right.",
picture: {
src: "https://images.unsplash.com/photo-1761850215840-2775d7229cad?w=1600&q=80",
alt: "A camera on a tripod in a small studio, two microphones on stands behind it"
},
action: {
label: "See the recorder",
action: "page",
record: {
id: "record"
}
},
features: [
{
title: "A script assistant that knows your topic",
text: "Paste your notes and get a script timed to the length you need, in your words rather than ours.",
icon: "sparkles"
},
{
title: "A teleprompter in your pocket",
text: "Your phone scrolls the script at your pace and listens, so it waits when you pause.",
picture: {
src: "https://images.unsplash.com/photo-1585060282215-39a72f82385c?w=1600&q=80",
alt: "A hand holding a smartphone with a blank screen"
},
icon: "message"
}
]
},
{
name: "Translate",
title: "Every language, with the same voice and timing",
text: "Each version keeps your voice, your pace and your terms, and a native speaker signs it off before it ships.",
picture: {
src: "https://images.unsplash.com/photo-1790749871285-3363c4e3b5be?w=1600&q=80",
alt: "A woman in headphones reviewing a video on her laptop in a café"
},
action: {
label: "How dubbing works",
action: "page",
record: {
id: "dubbing"
}
},
features: [
{
title: "Voices that sound like you",
text: "Your own voice speaks thirty languages, with your consent recorded and revocable at any time.",
picture: {
src: "https://images.unsplash.com/photo-1668537338628-85b9970bf17f?w=1600&q=80",
alt: "Two microphones on a recording desk in front of lit panels"
},
icon: "languages"
},
{
title: "Lips that match the words",
text: "Mouth movements are adjusted to the new line, so the dub never looks dubbed.",
icon: "film"
}
]
}
]
}
</script>

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

Props

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

PropTypeDescription
eyebrowstringWordsa short line above the title ("The whole workflow")
title*stringWordsthe section’s title, an h2
introstringWordsone or two sentences under the title
chapters*Chapter[]two to five stages of the workflow, in the order they happen
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Chapter chapters[] · 6 props
PropTypeDescription
name*stringWordsthe stage of the workflow, one or two words ("Translate"): the index entry
title*stringWordswhat the stage achieves, in a sentence: an h3
textstringWordsone or two sentences introducing the stage
picturePicturea wide picture of the stage, landscape: the chapter’s lead
actionActionwhere to learn more about this stage
features*Feature[]two to four features of the stage
Picture chapters[].picture · 2 props
PropTypeDescription
src*stringPicturea picture: a root-relative path (/media/…) or an absolute URL
alt*stringWordswhat the picture shows
Action chapters[].action · 3 props
PropTypeDescription
label*stringWordswhat happens ("Try for free")
action*stringActiona named action of the page
recordRecord<string, unknown>Datathe record the action opens, if any
Feature chapters[].features[] · 4 props
PropTypeDescription
title*stringWordsthe feature, in a few words ("Voice cloning in 30 languages"): an h4
text*stringWordsone or two sentences on what it does for the visitor
picturePicturethe host’s own screenshot or photograph of it, on a tinted ground
iconstringDesignan icon name ("sparkles", "globe", "zap"…); none when absent or unknown
Picture chapters[].features[].picture · 2 props
PropTypeDescription
src*stringPicturea picture: a root-relative path (/media/…) or an absolute URL
alt*stringWordswhat the picture shows
Options options · 1 props
PropTypeDescription
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
Linkyour router’s link component
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
  • Subtle motion: one short reveal; still under reduced motion
  • Real buttons and links, a visible focus
  • Asks your app through actions: chapters[].action

A features section, for home, landing, product pages; it uses @lucide/vue, clsx, motion, tailwind-merge.

More features blocks

  • Capability rows checkerboard: 2 to 4 capabilities with strong square-ish photographs and short words: edge-to-edge cells with no gap, picture and words alternating like a chessboard, an architectural grid.
  • Capability rows zigzag: 2 to 4 capabilities, each its own row with a picture on alternating sides, points and a link: the long, calm explanation.
  • Carousel cards: 3 to 8 features as large cards with a picture above their words, buttons above the rail: the main capabilities, each with a screen.
  • Carousel overlay: 3 to 8 tall pictures with their words over a calm foot, cards that lean toward the pointer: a visual, bold tour of the offer.
  • Carousel side heading: 4 to 8 features after a heading column that stays beside the rail, numbered and open: a long list to browse without a heavy page.
  • Coverage map list: continents as columns under a dotted band, each country on a dotted leader to its currency: a calm, scannable map without a map.
  • Coverage regions: a card per continent with its countries and what is available there overall: a quick answer to "do you work in my country?".
  • Coverage table: one table, a row per country with languages, currencies, payment and shipping side by side: a visitor who needs to compare precisely.

All 45 features blocks