A normal-height footer with a blurred rainbow pinned to the bottom of the viewport, stretching up from the floor over the last stretch of scroll. Gradient inspired by Dia Browser. One inline SVG, no dependencies.
Install
Add it to your project
Run this in a project set up for shadcn/ui. It writes the files and installs the npm packages.
First time: connect the Infinity UI registry
- Create a personal token on your Tokens page.
- Put it in
.env.localasINFINITYUI_TOKEN. - Add the registry to
components.json:
{
"registries": {
"@infinityui": {
"url": "https://infinityui.io/r/{name}.json",
"headers": {
"Authorization": "Bearer ${INFINITYUI_TOKEN}"
}
}
}
}Using Claude Code, Codex, Cursor, Lovable or v0? See CLI & MCP for a setup prompt.
Code
import { RuixenGradientFooter } from "@/registry/ruixenui/ruixen-gradient-footer";
const columns = [
{
title: "Product",
links: ["Overview", "Features", "Integrations", "Pricing", "Changelog"],
},
{
title: "Resources",
links: ["Docs", "Guides", "API reference", "Support", "Status"],
},
{ title: "Company", links: ["About", "Careers", "Blog", "Press", "Contact"] },
{ title: "Legal", links: ["Privacy", "Terms", "Security", "Cookies"] },
];
export default function RuixenGradientFooterDemo() {
return (
<div className="flex min-h-full flex-col">
{/* The reveal needs at least a band-height of scroll above the footer,
otherwise the glow starts out already half-risen. */}
<div className="flex h-[55vh] shrink-0 items-center justify-center px-6 text-center font-mono text-xs uppercase tracking-wider text-muted-foreground">
Scroll down to the footer ↓
</div>
<RuixenGradientFooter gradientHeight="40vh">
<div className="mx-auto w-full max-w-5xl px-6 pt-12">
<div className="grid gap-10 pb-10 sm:grid-cols-2 lg:grid-cols-6">
<div className="lg:col-span-2">
<div className="flex items-center gap-2 text-foreground">
<svg viewBox="0 0 24 24" className="size-5" aria-hidden>
<path d="M12 2 22 12 12 22 2 12Z" fill="currentColor" />
<path
d="M12 8 16 12 12 16 8 12Z"
className="fill-background"
/>
</svg>
<span className="font-mono text-sm uppercase tracking-widest">
Lumen Studio
</span>
</div>
<p className="mt-4 max-w-xs text-sm text-muted-foreground">
Design tooling for teams who ship on Fridays. Built for the
browser, offline by default.
</p>
<div className="mt-6 flex max-w-xs gap-2">
<input
type="email"
aria-label="Email address"
placeholder="you@company.com"
className="h-9 w-full rounded-md border border-border bg-transparent px-3 text-sm text-foreground placeholder:text-muted-foreground focus:border-foreground/40 focus:outline-none"
/>
<button
type="button"
className="h-9 shrink-0 rounded-md bg-foreground px-3 font-mono text-xs uppercase tracking-wider text-background transition-opacity hover:opacity-90"
>
Join
</button>
</div>
</div>
<nav className="grid grid-cols-2 gap-10 font-mono text-xs uppercase tracking-wider sm:grid-cols-4 lg:col-span-4">
{columns.map((col) => (
<div key={col.title}>
<h3 className="text-foreground">{col.title}</h3>
<ul className="mt-4 flex flex-col gap-3">
{col.links.map((link) => (
<li key={link}>
<a
href="#"
className="text-muted-foreground transition-colors hover:text-foreground"
>
{link}
</a>
</li>
))}
</ul>
</div>
))}
</nav>
</div>
<div className="flex flex-col items-center justify-between gap-3 border-t border-border/60 pt-6 pb-2 font-mono text-xs uppercase tracking-wider text-muted-foreground sm:flex-row">
<span>© 2026 Lumen Studio</span>
<span className="flex items-center gap-2">
<span className="size-1.5 rounded-full bg-primary" />
All systems normal
</span>
<span>Amsterdam · Remote</span>
</div>
</div>
</RuixenGradientFooter>
</div>
);
}
































