Halftone Hands
Two hands reach in from the sides, drawn as a live halftone dot field. Each frame both poses are painted into a small offscreen field, sampled per cell and redrawn as dots quantised to six tone steps. The hands drift and breathe on a 20 second loop, cells dissolve between two poses, rows glitch sideways, and a lens under the cursor swells and darkens the dots. Eleven ink themes. Canvas 2D, no dependencies.
npx shadcn@latest add @compronents/halftone-handsInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
Checking access…
| Prop | Type | Default | Description |
|---|---|---|---|
| theme | HalftoneThemeId | HalftoneTheme | "paper" | One of paper, graphite, phosphor, amber, blueprint, riso, ember, neon, sage, gilt, glacier, or a custom { bg, inkA, inkB, glow, vignette, scan, dark }. Ink colours ease to a new theme. |
| glow / vignette / scanlines | number / boolean / boolean | 100 / true / true | Glow as a % of the theme's glow radius, and whether the theme's vignette and scanlines show. |
| hands | Partial<HandsOptions> | { source: "sheet", width: 56, centerY: 50, bleed: 4.5, gap: 9 } | A 2x2 `sheet` URL, or `source: "split"` with leftA, rightA, leftB, rightB. Width, vertical centre, edge bleed and the faded centre gap are in %. |
| dots | Partial<DotsOptions> | { shape: "circle", density: 190, rowGap: 1.9, size: 94, levels: 6, minDot: 30, threshold: 14, softness: 44, contrast: 1.15, detail: 0.9 } | Dot shape (circle, square, diamond, bar), columns across, row spacing, tone steps and the tone curve. Density and row spacing rebuild the grid. |
| motion | Partial<MotionOptions> | { loop: 20, speed: 1, drift: 100, breathe: 100, roll: 100, morph: true, glitch: true, shimmer: 100, intro: true } | Loop length in seconds, the hand motion amounts in %, and the pose swap, row glitch, shimmer and build-in. |
| lens | Partial<LensOptions> | { enabled: true, radius: 130, swell: 40, push: 6, reveal: 25 } | Cursor lens radius in px, dot growth in %, outward push in px and extra tone in %. |
| className / style | string / CSSProperties | — | Root props. The component fills its parent. |
None.