BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/neon-ui/neon-aurora

NeonAurora

neon-ui/neon-aurora
FreeComponent

The neon.com hero as a live WebGL surface: clusters of thin vertical bars twinkling in green, teal, and blue.

Install it

npx shadcn@latest add https://ui.neon.com/r/neon-aurora.json

Source

src/components/neon-aurora/neon-aurora.tsxui.neon.com/r/neon-aurora.json · first 6 KB
1"use client";
2
3/*
4 * NeonAurora: the neon.com hero as a live WebGL surface — clusters of
5 * thin vertical bars in green/teal/blue twinkling on black. A brand
6 * background for heroes, empty workspaces, and marketing moments.
7 * Static single frame under reduced motion. GLSL lives in
8 * neon-aurora-shader.ts.
9 */
10
11import { useEffect, useRef } from "react";
12import type { ComponentProps } from "react";
13
14import { cn } from "@/lib/utils";
15
16import { AURORA_FRAGMENT, AURORA_VERTEX } from "./neon-aurora-shader";
17
18export type NeonAuroraProps = Omit<ComponentProps<"canvas">, "children"> & {
19 /** Animation speed multiplier; 0 freezes the field. */
20 speed?: number;
21 /** 0-1 share of bar clusters alive at once. */
22 density?: number;
23 /** Overall brightness multiplier. */
24 intensity?: number;
25 /** 0-1 depth-of-field blur on the near layer as it approaches. */
26 blur?: number;
27 /** 0-1 ambient bloom fog hanging around the lit regions. */
28 glare?: number;
29 /** 0-1 how often the warm flare ignites; 0 disables it. */
30 flare?: number;
31 /** 0-1 how much of its column each bar fills. */
32 thickness?: number;
33 /** 0-1 how often the hot white flare ignites; 0 disables it. */
34 whiteFlare?: number;
35 /** Bar palette, mixed per bar: [deep, primary, accent]. */
36 colors?: [string, string, string];
37};
38
39/**
40 * Seconds for a dial change to close ~63% of its gap — uniforms ease
41 * toward their targets each frame, so a dragged slider glides
42 * instead of snapping.
43 */
44const SMOOTH_TAU = 0.12;
45
46const DEFAULT_COLORS: [string, string, string] = [
47 "#0e5f45",
48 "#00e599",
49 "#3b82f6",
50];
51
52const parseColor = (css: string): [number, number, number] => {
53 const probe = document.createElement("canvas");
54 probe.width = 1;
55 probe.height = 1;
56 const context = probe.getContext("2d");
57
58 if (!context) {
59 return [0, 0.9, 0.6];
60 }
61
62 context.fillStyle = css;
63 context.fillRect(0, 0, 1, 1);
64 const [r, g, b] = context.getImageData(0, 0, 1, 1).data;
65 return [(r ?? 0) / 255, (g ?? 0) / 255, (b ?? 0) / 255];
66};
67
68const warnDev = (message: string) => {
69 if (typeof process !== "undefined" && process.env.NODE_ENV !== "production") {
70 console.warn(message);
71 }
72};
73
74const compile = (
75 gl: WebGLRenderingContext,
76 type: number,
77 source: string
78): WebGLShader | null => {
79 const shader = gl.createShader(type);
80
81 if (!shader) {
82 return null;
83 }
84
85 gl.shaderSource(shader, source);
86 gl.compileShader(shader);
87
88 if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
89// … truncated

What it pulls in

Other registry items

  • utils

Files it writes

  • src/components/neon-aurora/neon-aurora.tsx
  • src/components/neon-aurora/neon-aurora-shader.ts

Facts

Registry
neon-ui
Type
registry:component
Access
Free
Files written
2
Licence
MIT
In the index
at or before 2026-08-09
Last confirmed
today

Go to the source

ui.neon.com neondatabase/ui on GitHub Raw registry item This item as JSON

More from neon-ui

All 77 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
ActivityFeedactivity-feedneon-uiComponentsFree2 deps
AgentChatagent-chatneon-uiComponentsFree6 deps
AnimatedWashanimated-washneon-uiComponentsFreeno deps · 2 files
ApiKeyListapi-key-listneon-uiComponentsFree2 deps
AppCardapp-cardneon-uiComponentsFree2 deps
AppCreatorapp-creatorneon-uiComponentsFree2 deps
AuthFormauth-formneon-uiComponentsFreeno deps
AutoscaleChartautoscale-chartneon-uiComponentsFree1 dep

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