BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/componentry/dithered-logo
This component no longer exists. It was in componentry’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-14 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.

Dithered Logo

componentry/dithered-logo
RemovedComponent

An interactive particle logo that turns image assets into a dithered canvas field with cursor ripples.

Live preview

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

Install it

npx shadcn@latest add https://componentry.dev/r/dithered-logo.json

Source

components/ui/dithered-logo.tsxcomponentry.dev/r/dithered-logo.json · first 6 KB
1"use client";
2
3import { cn } from "@/lib/utils";
4import { type CSSProperties, useEffect, useRef } from "react";
5
6export interface DitheredLogoProps {
7 imageSrc: string;
8 gridSize?: number;
9 scale?: number;
10 dotScale?: number;
11 invert?: boolean;
12 cornerRadius?: number;
13 threshold?: number;
14 contrast?: number;
15 gamma?: number;
16 blur?: number;
17 diffusionStrength?: number;
18 serpentine?: boolean;
19 particleColor?: string;
20 style?: CSSProperties;
21 className?: string;
22}
23
24type PointCloud = {
25 x: Float32Array;
26 y: Float32Array;
27 dx: Float32Array;
28 dy: Float32Array;
29 dotSize: number;
30};
31
32type Wave = { x: number; y: number; bornAt: number };
33
34const defaults = {
35 gridSize: 200,
36 scale: 0.5,
37 dotScale: 1,
38 invert: true,
39 cornerRadius: 0.2,
40 threshold: 180,
41 contrast: 0,
42 gamma: 1,
43 blur: 3.75,
44 diffusionStrength: 1,
45 serpentine: true,
46};
47
48function loadAsset(source: string, signal: AbortSignal) {
49 return new Promise<HTMLImageElement>((resolve, reject) => {
50 const image = new Image();
51 const abort = () => reject(new DOMException("Aborted", "AbortError"));
52 image.crossOrigin = "anonymous";
53 image.onload = () => {
54 signal.removeEventListener("abort", abort);
55 resolve(image);
56 };
57 image.onerror = () => reject(new Error(`Unable to load image: ${source}`));
58 signal.addEventListener("abort", abort, { once: true });
59 image.src = source;
60 });
61}
62
63function sampleImage(
64 image: HTMLImageElement,
65 maxDimension: number,
66 contrast: number,
67 gamma: number,
68 blur: number,
69) {
70 const ratio = image.naturalWidth / image.naturalHeight;
71 const width = Math.max(
72 1,
73 Math.round(ratio >= 1 ? maxDimension : maxDimension * ratio),
74 );
75 const height = Math.max(
76 1,
77 Math.round(ratio >= 1 ? maxDimension / ratio : maxDimension),
78 );
79 const canvas = document.createElement("canvas");
80 canvas.width = width;
81 canvas.height = height;
82 const context = canvas.getContext("2d", { willReadFrequently: true });
83 if (!context) throw new Error("DitheredLogo could not create a 2D context.");
84
85 context.clearRect(0, 0, width, height);
86 context.filter = blur > 0 ? `blur(${blur}px)` : "none";
87 context.drawImage(image, 0, 0, width, height);
88 context.filter = "none";
89
90 const pixels = context.getImageData(0, 0, width, height).data;
91 const luminance = new Float32Array(width * height);
92 const alpha = new Uint8Array(width * height);
93 const contrastScale =
94// … truncated

Facts

Registry
componentry
Type
registry:ui
Access
Free
Files written
0
Licence
MIT
In the index
at or before 2026-08-11
Last confirmed
2 days ago

Go to the source

Docs on componentry componentry.fun Bharath200415/KylixUI on GitHub Raw registry item This item as JSON

More from componentry

All 35 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
animated-gradientanimated-gradientcomponentryComponentsUnverifiedno deps
auth-modalauth-modalcomponentryComponentsUnverifiedno deps
border-beamborder-beamcomponentryComponentsUnverifiedno deps
circuit-boardcircuit-boardcomponentryComponentsUnverifiedno deps
closing-plasmaclosing-plasmacomponentryComponentsUnverifiedno deps
collection-surfercollection-surfercomponentryComponentsUnverifiedno deps
command-menucommand-menucomponentryComponentsUnverifiedno deps
cursor-driven-particle-typographycursor-driven-particle-typographycomponentryComponentsUnverifiedno deps

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

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.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 KitGrade

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 KitGrade

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 KitGrade

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