Bottom bar
Grey command bar: plus-suffixed nav with a jumping block cursor, a live clock with a red dot and a white refusal button.
Part of the style
Hostile HUD
6 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/hostile-hud/bar/figma.html?palette=998e96bcbbb23bf5
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/hostile-hud/bar/figma.html?palette=998e96bcbbb23bf5 and pass that whole HTML document to the html_to_figma tool, so the part "Bottom bar" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--void: #000000;
--night: #0c090a;
--night-2: #171415;
--bar: #3b3436;
--text: #eff6ff;
--text-dim: rgba(239, 246, 255, 0.55);
--text-ghost: rgba(239, 246, 255, 0.22);
--rule: rgba(239, 246, 255, 0.14);
--chrome: #b7c1d1;
--alarm: #8c5f51;
--signal: #996556;
--alarm-deep: #351d16;
--rgb-r: #926355;
--frost: #af5f48;
--rgb-g: #406298;
--rgb-b: #805346;
}
</style>
<footer class="bar">
<nav class="bar__nav" aria-label="Main">
<a class="bar__link is-current" href="#" aria-current="page">Index <span class="bar__plus">+</span></a>
<a class="bar__link" href="#">Work <span class="bar__plus">+</span></a>
<a class="bar__link" href="#">Logbook <span class="bar__plus">+</span></a>
<a class="bar__link" href="#">Error <span class="bar__plus">+</span></a>
</nav>
<div class="bar__info">
<svg class="bar__moon" viewBox="0 0 12 12" aria-hidden="true"><path d="M7.5 1A5 5 0 1 0 11 8.6 4.2 4.2 0 0 1 7.5 1Z" fill="currentColor"/></svg>
<span class="bar__zone">GMT+1</span>
<span class="bar__dot" aria-hidden="true"></span>
<time class="bar__clock">00:00:00</time>
<a class="bar__refuse" href="#">Don't call us <span class="bar__plus">+</span></a>
</div>
</footer>
<style>
.bar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0 var(--space-m);
padding: 0 var(--space-xs) 0 var(--edge);
background: var(--bar);
color: var(--chrome);
font-size: var(--text-m);
line-height: 1;
}
.bar__nav,
.bar__info {
display: flex;
align-items: center;
gap: var(--space-m);
}
.bar__link {
position: relative;
display: inline-flex;
align-items: center;
gap: var(--space-xs);
min-height: var(--tap);
min-width: var(--tap);
color: inherit;
text-decoration: none;
transition: color var(--quick) ease;
}
/* A white block jumps in front of the hovered word. */
.bar__link::before {
content: "";
position: absolute;
left: -8px;
top: 50%;
width: 4px;
height: 16px;
translate: 0 -50%;
background: var(--text);
opacity: 0;
}
.bar__link:hover,
.bar__link:focus-visible,
.bar__link.is-current {
color: var(--text);
outline: none;
}
.bar__link:hover::before,
.bar__link:focus-visible::before {
animation: bar-jump 0.36s var(--step) forwards;
}
.bar__plus { color: var(--text-dim); }
.bar__link.is-current .bar__plus { color: var(--text); }
.bar__moon { width: 11px; color: var(--chrome); }
.bar__dot {
width: 6px;
height: 6px;
background: var(--signal);
}
.bar.is-live .bar__dot { animation: bar-blink 1s steps(1, end) infinite; }
.bar__clock {
font-family: var(--font-mono);
font-size: var(--text-s);
letter-spacing: 0;
color: var(--text);
}
.bar__refuse {
display: inline-flex;
align-items: center;
gap: var(--space-l);
min-height: var(--tap);
padding: 0 var(--space-s);
background: var(--text);
color: var(--void);
text-decoration: none;
transition: background var(--quick) ease, color var(--quick) ease;
}
.bar__refuse .bar__plus { color: var(--void); }
.bar__refuse:hover,
.bar__refuse:focus-visible {
background: var(--signal);
color: var(--text);
outline: none;
}
.bar__refuse:hover .bar__plus { color: var(--text); }
@keyframes bar-jump {
0% { opacity: 1; translate: -6px -50%; }
100% { opacity: 1; translate: 0 -50%; }
}
@keyframes bar-blink { 50% { opacity: 0.2; } }
@media (max-width: 40rem) {
.bar { padding: 0 var(--edge); }
.bar__nav { width: 100%; justify-content: space-between; gap: var(--space-s); }
.bar__info { width: 100%; padding-bottom: var(--space-xs); gap: var(--space-s); }
.bar__refuse { margin-left: auto; }
.bar__moon { display: none; }
}
</style>
<script>
(() => {
function run(root) {
const clock = root.querySelector('.bar__clock');
let timer = 0;
const show = () => {
const now = new Date();
clock.textContent = now.toTimeString().slice(0, 8);
clock.dateTime = now.toISOString();
};
show();
new IntersectionObserver(([entry]) => {
clearInterval(timer);
root.classList.toggle('is-live', entry.isIntersecting);
if (entry.isIntersecting) timer = setInterval(show, 1000);
}).observe(root);
}
document.querySelectorAll('.bar').forEach(run);
})();
</script>