Input Feedback

HTML to video · A camera move · Apache-2.0

What it does

A transitions.dev-inspired input feedback primitive with shake, clear affordance, and success state. Paste-in snippet: it registers no timeline, you wire it into your own.

Get it

Paste its markup, CSS and script into your composition, then add the timeline lines from the comment at the top of the file to your own GSAP timeline. demo.html in the folder shows it running. 3 settings to change.

Source on GitHub
Needs

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

Re-skin

By props (colors, text)

Declared variables: status, value, hint. Its colors are custom properties declared in one block in the file (--hf-fb-border, --hf-fb-chip-bg, --hf-fb-chip-fg).

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