Slim grouped — Footer block

Pro

footer-slim-grouped · for home, catalog, product, cart, checkout, account, article, landing pages

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

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-slim-grouped

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import FooterSlimGrouped from '@/components/trame/blocks/footer/footer-slim-grouped.vue'

const props = {
name: "Maison Aubrac",
columns: [
{
title: "Help",
links: [
{
label: "Shipping",
action: "page",
record: {
id: "shipping"
}
},
{
label: "Returns",
action: "page",
record: {
id: "returns"
}
}
]
},
{
title: "About us",
links: [
{
label: "Our story",
action: "page",
record: {
id: "our-story"
}
},
{
label: "Journal",
action: "page",
record: {
id: "journal"
}
}
]
}
],
legal: "© {year} Maison Aubrac. All rights reserved.",
options: {
year: 2026
}
}
</script>

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

Props

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

PropTypeDescription
name*stringWordsthe shop’s name
columns*Column[]groups of links; one to eight
legalstringWordsthe legal line; {year} is replaced by options.year (dropped when there is none)
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Column columns[] · 2 props
PropTypeDescription
title*stringWordsthe group’s title
links*Link[]the column’s links, in order
Link columns[].links[] · 4 props
PropTypeDescription
label*stringWordsthe link’s words, e.g. "See the collection"
actionstringActiona named action of the page
recordRecord<string, unknown>Datathe record the action applies to, passed to the host with it, if any
urlstringDesignan address outside the app
Options options · 2 props
PropTypeDescription
yearnumberDatathe 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' | 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
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: columns[].links[]

A footer section, for home, catalog, product, cart, checkout, account, article, landing pages.

More footer blocks

  • 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.
  • 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.
  • 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.
  • Wordmark masthead: an expressive brand with a real sitemap: the shop’s name across the top like a newspaper masthead on a heavy rule, the link groups under it as titled columns.

All 15 footer blocks