Signup band — Footer block
Profooter-signup-band · for home, catalog, product, cart, checkout, account, article, landing pages
Signup band
Brand-led shops: a headline and an email field on one side, three columns of links on the other
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/footer-signup-bandUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import FooterSignupBand from '@/components/trame/blocks/footer/footer-signup-band.vue'
const props = {
name: "Maison Aubrac",
blurb: "Clothing and footwear for the mountains, designed and repaired in our Bozeman workshop since 2011.",
social: [
{
network: "Instagram",
url: "https://instagram.com/"
},
{
network: "Pinterest",
url: "https://pinterest.com/"
}
],
payments: [
"Visa",
"Mastercard"
],
legal: "© {year} Maison Aubrac. All rights reserved.",
legalLinks: [
{
label: "Legal notice",
action: "page",
record: {
id: "mentions-legales"
}
},
{
label: "Terms of sale",
action: "page",
record: {
id: "cgv"
}
}
],
options: {
locale: "United States · USD",
year: 2026
},
newsletter: {
title: "One letter a month, never more",
text: "News from the workshop and our care tips.",
action: "newsletter",
button: "Subscribe"
},
columns: [
{
title: "Shop",
links: [
{
label: "New arrivals",
action: "page",
record: {
id: "new-arrivals"
}
},
{
label: "Shoes",
action: "page",
record: {
id: "shoes"
}
}
]
},
{
title: "Help",
links: [
{
label: "Shipping",
action: "page",
record: {
id: "shipping"
}
},
{
label: "Returns and exchanges",
action: "page",
record: {
id: "returns-and-exchanges"
}
}
]
}
]
}
</script>
<template>
<FooterSignupBand v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| name* | string | Wordsthe shop’s name |
| blurb | string | Wordsthe business in a sentence or two |
| columns* | Column[] | groups of links; one to eight |
| social | Social[] | the merchant’s own profiles; a `kind` adds a generic glyph beside the name |
| payments | (string | Payment)[] | the methods the shop really accepts: a name, or { name, kind } to set it as a small mark |
| marks | Mark[] | certifications the merchant really holds |
| newsletter* | Newsletter | the newsletter sign-up in the footer |
| apps | Apps | links to the shop’s apps, and a QR code |
| legal | string | Wordsthe legal line; {year} is replaced by options.year (dropped when there is none) |
| legalLinks | LegalLink[] | the legal links at the very bottom |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Column columns[] · 2 props
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe group’s title |
| links* | Link[] | the column’s links, in order |
Link columns[].links[] · 4 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordsthe link’s words, e.g. "See the collection" |
| action | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action applies to, passed to the host with it, if any |
| url | string | Designan address outside the app |
Social social[] · 4 props
| Prop | Type | Description |
|---|---|---|
| network* | string | Designthe network’s name as written ("Instagram") |
| kind | 'instagram' | 'facebook' | 'tiktok' | 'youtube' | 'pinterest' | 'x' | 'threads' | 'bluesky' | 'linkedin' | 'newsletter' | 'blog' | 'podcast' | which network it is: picks a generic glyph shown beside the name (never the network’s logo); without it, the name alone |
| action | string | Actiona named action of the page |
| url | string | Designan address outside the app |
Mark marks[] · 1 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordsa certification the merchant really holds |
Newsletter newsletter · 4 props
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe newsletter’s title |
| text | string | Wordsthe newsletter’s text |
| action* | string | Actionwhere the email goes |
| button | string | Wordsthe button’s words ("Subscribe") |
Apps apps · 3 props
| Prop | Type | Description |
|---|---|---|
| ios | Ios | the ios link: its words and where it leads |
| android | Android | the android link: its words and where it leads |
| qr | string | Picturea picture: a root-relative path (/media/…) or an absolute URL |
Ios apps.ios · 4 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordsthe link’s words, e.g. "See the collection" |
| action | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action applies to, passed to the host with it, if any |
| url | string | Designan address outside the app |
Android apps.android · 4 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordsthe link’s words, e.g. "See the collection" |
| action | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action applies to, passed to the host with it, if any |
| url | string | Designan address outside the app |
LegalLink legalLinks[] · 4 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordsthe link’s words, e.g. "See the collection" |
| action | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action applies to, passed to the host with it, if any |
| url | string | Designan address outside the app |
Options options · 3 props
| Prop | Type | Description |
|---|---|---|
| locale | string | Designthe language and currency in use ("France · EUR"), shown quietly |
| year | number | Datathe year in the legal line ("{year}", else after "©"), given by the host: the block never reads the clock, so its server render stays the same everywhere; absent, the line has no year |
| 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 |
| asset | a picture’s address as your app serves it |
| 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:
columns[].links[],social[],newsletter,apps.ios,apps.android,legalLinks[]
A footer section, for home, catalog, product, cart, checkout, account, article, landing pages; it uses @lucide/vue, @vueuse/core, class-variance-authority, clsx, reka-ui, tailwind-merge.
Built with
The components this block is made of; each one installs on its own too.
More footer blocks
- Contact tiles: a shop people call or visit: its hours, phone, email and address as tiles above the columns.
- Inset card: a softer close on a polished site: the whole footer as one rounded card set in from the band’s edges.
- Market panel: a shop that sells in several countries or languages: the name and its blurb beside a "Country and language" panel of the real markets, the columns of links under them.
- Rows stacked rows: help-heavy or content sites: the brand and social marks, then one row per group, its title left and its links inline.
- Sitemap: a large catalogue: the brand and its blurb narrow at the left, up to six columns, the legal row under a rule.
- Slim grouped: a slim band that keeps the link groups: the name over the legal line at the start, each group a small titled column at the end; for two to four short groups that a single line would jumble.
- Slim line: a single quiet line: the name, a few links and the legal line.
- Statement: a shop with a point of view: its blurb set large, the columns small under it.