Wordmark — Footer block
Profooter-wordmark · for home, catalog, product, cart, checkout, account, article, landing pages
Wordmark
An expressive brand: the link groups as quiet titled rows, then the shop’s name set across the whole width
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-wordmarkUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import FooterWordmark from '@/components/trame/blocks/footer/footer-wordmark.vue'
const props = {
name: "Maison Aubrac",
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
},
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>
<FooterWordmark 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 |
| contact | Contact | how to reach the shop |
| 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 |
| 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 |
Contact contact · 4 props
| Prop | Type | Description |
|---|---|---|
| string | Wordsan email address | |
| phone | string | Wordsa phone number |
| address | string | Wordsthe postal address |
| hours | string | Wordsopening hours, as the merchant writes them |
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 |
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[],apps.ios,apps.android,legalLinks[]
A footer section, for home, catalog, product, cart, checkout, account, article, landing pages; it uses @lucide/vue, 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
- 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.
- Signup band: brand-led shops: a headline and an email field on one side, three columns of links on the other.
- 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.
- Stores: shops with points of sale: link columns on the left, two to four stores with address and hours on the right.