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 asciiprops
| name | type | default | description |
|---|---|---|---|
| src | string | - | url/path of a .txt file holding the art; fetched once and rendered exactly. |
| children | string | - | inline art; with src, shows until the file loads. |
| label | string | - | accessible name (role="img"); omit for decorative art. |
| size | number | 12 | font size in px. |
| lineHeight | number | 1.15 | line-height multiplier. |
| className | string | - |