BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ruixen-ui/ruixen-gradient-footer
This component no longer exists. It was in ruixen-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-12 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Ruixen Gradient Footer

ruixen-ui/ruixen-gradient-footer
RemovedComponent

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.

Live preview

live · rendered by the registry
Rendered by ruixen-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ruixen.com/r/ruixen-gradient-footer.json

Source

registry/ruixenui/ruixen-gradient-footer.tsxruixen.com/r/ruixen-gradient-footer.json · first 6 KB
1"use client";
2
3// Ruixen Gradient Footer — a normal footer that sits at the bottom of the page.
4// Its content reads first; the blurred rainbow is pinned to the bottom of the
5// viewport and stretches up from the floor over the last stretch of scroll,
6// hitting full height exactly when you reach the end of the page.
7// One inline <svg> — no canvas, no giant scroll spacer.
8//
9// Gradient design inspired by Dia Browser — https://www.diabrowser.com
10
11import {
12 useEffect,
13 useId,
14 useRef,
15 useState,
16 type CSSProperties,
17 type ReactNode,
18} from "react";
19
20type Stop = { offset: number; color: string };
21
22const VBW = 1271;
23const VBH = 599;
24
25// Ruixen's stops, floor (0) → top (1): dark ember → blue → near-white → yellow
26// → red-orange → magenta → transparent pink.
27const RUIXEN_STOPS: Stop[] = [
28 { offset: 0, color: "#340B05" },
29 { offset: 0.1827, color: "#0358F7" },
30 { offset: 0.2837, color: "#5092C7" },
31 { offset: 0.4135, color: "#E1ECFE" },
32 { offset: 0.5866, color: "#FFD400" },
33 { offset: 0.6827, color: "#FA3D1D" },
34 { offset: 0.8029, color: "#FD02F5" },
35 { offset: 1, color: "#FFC0FD00" },
36];
37
38// Height curve: a gentle power falloff, giving the flatter, pyramid-like rise of
39// the original footer (short edges, tallest middle).
40function bellHeights(n: number, peak: number, valley: number): number[] {
41 const out: number[] = [];
42 const mid = (n - 1) / 2;
43 for (let i = 0; i < n; i++) {
44 const t = mid === 0 ? 0 : Math.abs(i - mid) / mid; // 0 center → 1 edge
45 const eased = 1 - Math.pow(t, 1.24);
46 out.push(peak * VBH * (valley + (1 - valley) * eased));
47 }
48 return out;
49}
50
51const clamp01 = (v: number) => Math.max(0, Math.min(1, v));
52
53export interface RuixenGradientFooterProps {
54 /** Footer content — links, wordmark, copyright — shown above the glow. */
55 children?: ReactNode;
56 /**
57 * Height of the glow band pinned to the viewport bottom. Doubles as the
58 * scroll distance the reveal takes, and the room reserved under the content.
59 */
60 gradientHeight?: string;
61 /**
62 * Resting height of the glow, as a fraction of the band — a thin, flat strip
63 * of rainbow along the bottom edge before the scroll reveal starts. `0` keeps
64 * it hidden until the last screen.
65 */
66 minReveal?: number;
67 /** Number of blurred columns. */
68 bars?: number;
69 /** Blur in viewBox units. */
70 blur?: number;
71 /** Peak height as a fraction of the viewBox. */
72 peak?: number;
73// … truncated

Files it writes

  • registry/ruixenui/ruixen-gradient-footer.tsx

Facts

Registry
ruixen-ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-01
Last confirmed
7 days ago

Go to the source

Docs on ruixen-ui ruixen.com ruixenui/ruixen.com on GitHub Raw registry item This item as JSON

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex