PRO

ASCII TV Hero

A hero where a video plays as a wall of luminance-mapped ASCII glyphs inside a bulging CRT tube, with pointer movement smearing nearby cells along a chromatic trail, and scrolling expanding the set from a floating television to a flat fullscreen wall.

Component
Interfaces, motion and code.
One integrated practice.
Signal locked. Keep scrolling.
Install
npx shadcn@latest add https://ui.aryank.space/r/ascii-tv-hero.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
videoSrcstringBLANK hero footageCORS-readable video sampled into the glyph wall.
headline[string, string]["Interfaces, motion and code.", "One integrated practice."]Bottom-left copy that fades out during expansion.
scrollLengthnumber3Scroll distance of the expansion, in multiples of the container height.
cellSizenumber6Glyph cell size in CSS pixels.
glyphRampstring"@#W$9876543210?!abc;:+=-,._ "Characters ordered from densest ink to empty space.
Customize
videoSrcasset-url

The video the glyph wall samples. Must be CORS-readable.

headlinetextarea

Two lines pinned bottom left that fade as the TV grows.

cellSize / glyphRamptext

Cell size in CSS pixels and the character ramp from densest to empty.

Dependencies
None.