Footers
JS behaviour
Giant wordmark footer
A huge outline wordmark that fills as you hover the footer and recolours from its swatches; four link columns above and a © row with global offices — the brand signature that closes the page.
Real scenarios
The component as it is used in a product — not a specimen grid.
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| fill | event | 'hover · focus-within' | Hovering or focusing anywhere in the footer fills the hollow wordmark over 450ms; keyboard works too. |
| --wmk-accent | color | '#4F46E5' | The stroke/fill colour of the wordmark; the swatches below swap this very variable (indigo, ember, fern). |
| stroke | length | '1.5px' | The outline weight via -webkit-text-stroke; the text colour stays transparent so only the stroke shows. |
| wordmark | string | 'Meridian' | The brand name stays Latin on one line, scaling from 16vw up to 9rem via clamp. |
| columns | array | '4' | Product, Company, Resources, Legal; collapses to two columns under 560px. |
Snippet
<footer class="wmk-foot" x-data="{ accent: '#4F46E5' }" :style="'--wmk-accent:' + accent">
<nav class="wmk-cols" aria-label="Site footer">
<div><h4>Product</h4><a href="#">Feature flags</a><a href="#">Observability</a><a href="#">Integrations</a></div>
<div><h4>Company</h4><a href="#">About</a><a href="#">Careers</a><a href="#">Customers</a></div>
<div><h4>Resources</h4><a href="#">Docs</a><a href="#">API reference</a><a href="#">Status</a></div>
<div><h4>Legal</h4><a href="#">Privacy</a><a href="#">Terms</a><a href="#">Security</a></div>
</nav>
<p class="wmk-mark" dir="ltr" aria-hidden="true">Meridian</p>
<div class="wmk-base">
<small>© 2026 Meridian — Frankfurt · Dublin · Singapore</small>
<div class="wmk-swatches">
<button type="button" aria-label="Indigo" x-on:click="accent = '#4F46E5'"></button>
<button type="button" aria-label="Ember" x-on:click="accent = '#EA580C'"></button>
<button type="button" aria-label="Fern" x-on:click="accent = '#059669'"></button>
</div>
</div>
</footer>
<style>
.wmk-foot { padding: 3rem 1.5rem 1.25rem; background: #FAFAF9; font-family: 'Inter', 'Vazirmatn', sans-serif; }
.wmk-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.wmk-cols h4 { margin: 0 0 .75rem; font-size: .75rem; color: #78716C; }
.wmk-cols a { display: block; padding-block: .2rem; color: #1C1917; text-decoration: none; }
.wmk-mark { margin: 2.5rem 0 0; text-align: center; white-space: nowrap;
font: 800 clamp(2.75rem, 16vw, 9rem)/1 'Inter', sans-serif; letter-spacing: -.04em;
color: transparent; -webkit-text-stroke: 1.5px var(--wmk-accent); transition: color .45s ease; }
.wmk-foot:is(:hover, :focus-within) .wmk-mark { color: var(--wmk-accent); }
.wmk-base { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
margin-block-start: 1.5rem; padding-block-start: 1rem; border-block-start: 1px solid #E7E5E4; }
.wmk-swatches { display: flex; gap: .5rem; }
.wmk-swatches button { inline-size: 1.25rem; aspect-ratio: 1; border-radius: 50%;
border: 2px solid #fff; outline: 1px solid #E7E5E4; cursor: pointer; }
@media (max-width: 560px) { .wmk-cols { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .wmk-mark { transition-duration: .01ms; } }
</style>
// app/Pages/Home.jsx — Inertia (React) page; renders the React snippet
// below unchanged, with Inertia's Link wired into the provider.
import { Link } from '@inertiajs/react';
import { NabuXUIProvider } from '@nabuxai/ui-react';
import WordmarkFooter from '@/components/WordmarkFooter';
export default function Home() {
return (
<NabuXUIProvider locale="en" linkComponent={Link}>
<main className="nx-page">
<WordmarkFooter />
</main>
</NabuXUIProvider>
);
}
// WordmarkFooter.jsx — the giant outline wordmark fills on hover
import { useState } from 'react';
import '@nabuxai/ui-core/css';
const COLUMNS = [
{ head: 'Product', links: ['Feature flags', 'Observability', 'Integrations'] },
{ head: 'Company', links: ['About', 'Careers', 'Customers'] },
{ head: 'Resources', links: ['Docs', 'API reference', 'Status'] },
{ head: 'Legal', links: ['Privacy', 'Terms', 'Security'] },
];
const ACCENTS = ['#4F46E5', '#EA580C', '#059669'];
export default function WordmarkFooter() {
const [accent, setAccent] = useState(ACCENTS[0]);
return (
<>
<style>{`
.wmk-foot { padding: 3rem 1.5rem 1.25rem; background: #FAFAF9; font-family: 'Inter', sans-serif; }
.wmk-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.wmk-cols h4 { margin: 0 0 .75rem; font-size: .75rem; color: #78716C; }
.wmk-cols a { display: block; padding-block: .2rem; color: #1C1917; text-decoration: none; }
.wmk-mark { margin: 2.5rem 0 0; text-align: center; white-space: nowrap;
font: 800 clamp(2.75rem, 16vw, 9rem)/1 'Inter', sans-serif; letter-spacing: -.04em;
color: transparent; -webkit-text-stroke: 1.5px var(--wmk-accent); transition: color .45s ease; }
.wmk-foot:is(:hover, :focus-within) .wmk-mark { color: var(--wmk-accent); }
.wmk-base { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
margin-block-start: 1.5rem; padding-block-start: 1rem; border-block-start: 1px solid #E7E5E4; }
.wmk-swatches { display: flex; gap: .5rem; }
.wmk-swatches button { inline-size: 1.25rem; aspect-ratio: 1; border-radius: 50%;
border: 2px solid #fff; outline: 1px solid #E7E5E4; cursor: pointer; }
@media (max-width: 560px) { .wmk-cols { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .wmk-mark { transition-duration: .01ms; } }
`}</style>
<footer className="wmk-foot" style={{ '--wmk-accent': accent }}>
<nav className="wmk-cols" aria-label="Site footer">
{COLUMNS.map((c) => (
<div key={c.head}>
<h4>{c.head}</h4>
{c.links.map((l) => <a key={l} href="#">{l}</a>)}
</div>
))}
</nav>
{/* Hover anywhere (or focus a link) and the hollow mark floods with the accent. */}
<p className="wmk-mark" dir="ltr" aria-hidden="true">Meridian</p>
<div className="wmk-base">
<small>© 2026 Meridian — Frankfurt · Dublin · Singapore</small>
<div className="wmk-swatches">
{ACCENTS.map((a) => (
<button key={a} type="button" style={{ background: a }}
aria-label={`Accent ${a}`} onClick={() => setAccent(a)} />
))}
</div>
</div>
</footer>
</>
);
}
<!-- WordmarkFooter.vue — the giant outline wordmark fills on hover -->
<script setup lang="ts">
import { ref } from 'vue';
import '@nabuxai/ui-core/css';
const columns = [
{ head: 'Product', links: ['Feature flags', 'Observability', 'Integrations'] },
{ head: 'Company', links: ['About', 'Careers', 'Customers'] },
{ head: 'Resources', links: ['Docs', 'API reference', 'Status'] },
{ head: 'Legal', links: ['Privacy', 'Terms', 'Security'] },
];
const accents = ['#4F46E5', '#EA580C', '#059669'];
const accent = ref<string>(accents[0]);
</script>
<template>
<footer class="wmk-foot" :style="{ '--wmk-accent': accent }">
<nav class="wmk-cols" aria-label="Site footer">
<div v-for="c in columns" :key="c.head">
<h4>{{ c.head }}</h4>
<a v-for="l in c.links" :key="l" href="#">{{ l }}</a>
</div>
</nav>
<!-- Hover anywhere (or focus a link) and the hollow mark floods with the accent. -->
<p class="wmk-mark" dir="ltr" aria-hidden="true">Meridian</p>
<div class="wmk-base">
<small>© 2026 Meridian — Frankfurt · Dublin · Singapore</small>
<div class="wmk-swatches">
<button v-for="a in accents" :key="a" type="button" :style="{ background: a }"
:aria-label="`Accent ${a}`" @click="accent = a"></button>
</div>
</div>
</footer>
</template>
<style scoped>
.wmk-foot { padding: 3rem 1.5rem 1.25rem; background: #FAFAF9; font-family: 'Inter', sans-serif; }
.wmk-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.wmk-cols h4 { margin: 0 0 .75rem; font-size: .75rem; color: #78716C; }
.wmk-cols a { display: block; padding-block: .2rem; color: #1C1917; text-decoration: none; }
.wmk-mark { margin: 2.5rem 0 0; text-align: center; white-space: nowrap;
font: 800 clamp(2.75rem, 16vw, 9rem)/1 'Inter', sans-serif; letter-spacing: -.04em;
color: transparent; -webkit-text-stroke: 1.5px var(--wmk-accent); transition: color .45s ease; }
.wmk-foot:is(:hover, :focus-within) .wmk-mark { color: var(--wmk-accent); }
.wmk-base { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
margin-block-start: 1.5rem; padding-block-start: 1rem; border-block-start: 1px solid #E7E5E4; }
.wmk-swatches { display: flex; gap: .5rem; }
.wmk-swatches button { inline-size: 1.25rem; aspect-ratio: 1; border-radius: 50%;
border: 2px solid #fff; outline: 1px solid #E7E5E4; cursor: pointer; }
@media (max-width: 560px) { .wmk-cols { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .wmk-mark { transition-duration: .01ms; } }
</style>
<!-- WordmarkFooter.svelte — the giant outline wordmark fills on hover -->
<script lang="ts">
import '@nabuxai/ui-core/css';
const columns = [
{ head: 'Product', links: ['Feature flags', 'Observability', 'Integrations'] },
{ head: 'Company', links: ['About', 'Careers', 'Customers'] },
{ head: 'Resources', links: ['Docs', 'API reference', 'Status'] },
{ head: 'Legal', links: ['Privacy', 'Terms', 'Security'] },
];
const accents = ['#4F46E5', '#EA580C', '#059669'];
let accent = $state(accents[0]);
</script>
<footer class="wmk-foot" style="--wmk-accent: {accent}">
<nav class="wmk-cols" aria-label="Site footer">
{#each columns as c (c.head)}
<div>
<h4>{c.head}</h4>
{#each c.links as l (l)}
<a href="#">{l}</a>
{/each}
</div>
{/each}
</nav>
<!-- Hover anywhere (or focus a link) and the hollow mark floods with the accent. -->
<p class="wmk-mark" dir="ltr" aria-hidden="true">Meridian</p>
<div class="wmk-base">
<small>© 2026 Meridian — Frankfurt · Dublin · Singapore</small>
<div class="wmk-swatches">
{#each accents as a (a)}
<button type="button" style="background: {a}" aria-label="Accent {a}"
onclick={() => (accent = a)}></button>
{/each}
</div>
</div>
</footer>
<style>
.wmk-foot { padding: 3rem 1.5rem 1.25rem; background: #FAFAF9; font-family: 'Inter', sans-serif; }
.wmk-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.wmk-cols h4 { margin: 0 0 .75rem; font-size: .75rem; color: #78716C; }
.wmk-cols a { display: block; padding-block: .2rem; color: #1C1917; text-decoration: none; }
.wmk-mark { margin: 2.5rem 0 0; text-align: center; white-space: nowrap;
font: 800 clamp(2.75rem, 16vw, 9rem)/1 'Inter', sans-serif; letter-spacing: -.04em;
color: transparent; -webkit-text-stroke: 1.5px var(--wmk-accent); transition: color .45s ease; }
.wmk-foot:is(:hover, :focus-within) .wmk-mark { color: var(--wmk-accent); }
.wmk-base { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
margin-block-start: 1.5rem; padding-block-start: 1rem; border-block-start: 1px solid #E7E5E4; }
.wmk-swatches { display: flex; gap: .5rem; }
.wmk-swatches button { inline-size: 1.25rem; aspect-ratio: 1; border-radius: 50%;
border: 2px solid #fff; outline: 1px solid #E7E5E4; cursor: pointer; }
@media (max-width: 560px) { .wmk-cols { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .wmk-mark { transition-duration: .01ms; } }
</style>