components / ascii

ascii.

seamless ascii-art renderer — point src at a .txt file (or pass a string child) and it renders on a fixed character grid, no ligatures, no spacing drift. wrap it in chrome to foil every glyph.

installation
bunx @justin06lee/chrome@latest add ascii
props
nametypedefaultdescription
srcstring-url/path of a .txt file holding the art; fetched once and rendered exactly.
childrenstring-inline art; with src, shows until the file loads.
labelstring-accessible name (role="img"); omit for decorative art.
sizenumber12font size in px.
lineHeightnumber1.15line-height multiplier.
classNamestring-