Typed Prompt

HTML to video · Code on screen · Apache-2.0

What it does

A prompt line types itself in chunked human cadence behind a deterministic blinking caret, with optional backspace-and-retype correction of the final word.

Get it

Copy it, or npx hyperframes add typed-prompt, to compositions/components/typed-prompt.html and mount it as a sub-composition; it brings its own timeline. 8 settings to change.

Source on GitHub
Needs

Loads its libraries from the network when it renders (cdn.jsdelivr.net).

Re-skin

By props (colors, type, text)

Declared variables: text, prompt_glyph, cadence, caret, correction, cues, accent, exit. Colors and type come from theme custom properties with fallbacks (--accent, --accent-2, --bg, --border, --brand, --fg, 11 in all), so a :root block or one of the three themes re-skins it.

License

Apache-2.0

License notes are on the pack's page

From

HyperFrames

Everything from HyperFrames in the gallery

Back to the Asset Library