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/halftone-bloom

HalftoneBloom

neon-ui/halftone-bloom
FreeComponent

Halftone ring field revealed by soft drifting color blooms: teal and amber light behind a punched-metal screen.

Install it

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

Source

src/components/halftone-bloom/halftone-bloom.tsxui.neon.com/r/halftone-bloom.json · first 6 KB
1"use client";
2
3/*
4 * HalftoneBloom: a punched-metal halftone screen revealed by soft
5 * drifting color lights. The default rig recreates the heritage
6 * background (cool teal left, warm amber right overexposing toward
7 * cream); pass a custom lights array to recreate any of the neon.com
8 * pattern strips or your own rig. Transparent outside the lit rings,
9 * so it works over dark and light surfaces alike. Static single frame
10 * under reduced motion. The GLSL lives in halftone-bloom-shader.ts.
11 */
12
13import { useEffect, useMemo, useRef } from "react";
14import type { ComponentProps } from "react";
15
16import { cn } from "@/lib/utils";
17
18import { BLOOM_FRAGMENT, BLOOM_VERTEX } from "./halftone-bloom-shader";
19
20export interface BloomLight {
21 /** Light color. */
22 color: string;
23 /** 0-1 anchor across the width. */
24 x: number;
25 /** 0-1 anchor up from the bottom. */
26 y: number;
27 /** Light radius as a share of the width. */
28 radius?: number;
29 /** Brightness gain. */
30 intensity?: number;
31 /** 0-1 pull toward the highlight color at the hottest cells. */
32 overexpose?: number;
33}
34
35export type HalftoneBloomProps = Omit<ComponentProps<"canvas">, "children"> & {
36 /** Light drift speed multiplier; 0 freezes the field. */
37 speed?: number;
38 /** Cell pitch in CSS pixels. */
39 gap?: number;
40 /** 0-1 punched-hole radius as a share of the cell. */
41 holeSize?: number;
42 /** Hole offset from the cell center, in cell units. */
43 holeOffset?: [number, number];
44 /** Overall brightness multiplier. */
45 intensity?: number;
46 /** 0-1 how far lights wander from their anchors. */
47 drift?: number;
48 /** The overexposed highlight color. */
49 highlight?: string;
50 /** The light rig, up to 6 lights. */
51 lights?: BloomLight[];
52};
53
54const MAX_LIGHTS = 6;
55
56const DEFAULT_HOLE_OFFSET: [number, number] = [-0.09, -0.09];
57
58const DEFAULT_LIGHTS: BloomLight[] = [
59 { color: "#1d5e57", radius: 0.25, x: 0.06, y: 0.9 },
60 { color: "#1d5e57", intensity: 0.95, radius: 0.21, x: 0.42, y: 0.05 },
61 {
62 color: "#c4692e",
63 intensity: 1.6,
64 overexpose: 1,
65 radius: 0.27,
66 x: 0.92,
67 y: 0.45,
68 },
69 {
70 color: "#c4692e",
71 intensity: 1.1,
72 overexpose: 1,
73 radius: 0.19,
74 x: 0.78,
75 y: 0.08,
76 },
77];
78
79/**
80 * Seconds for a dial change to close ~63% of its gap — uniforms ease
81 * toward their targets each frame, so a dragged slider glides
82 * instead of snapping.
83 */
84const SMOOTH_TAU = 0.12;
85
86const parseColor = (css: string): [number, number, number] => {
87// … truncated

What it pulls in

Other registry items

  • utils

Files it writes

  • src/components/halftone-bloom/halftone-bloom.tsx
  • src/components/halftone-bloom/halftone-bloom-shader.ts

Facts

Registry
neon-ui
Type
registry:component
Access
Free
Files written
2
Licence
MIT
In the index
at or before 2026-08-13
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