Components

Components

Component

A copy-to-clipboard button that swaps to a check for two seconds, plus a one-line CopySnippet for commands and IDs. Uses the Clipboard API with an execCommand fallback; when both are blocked (for example in a sandboxed iframe) it selects the text and asks for Ctrl+C or ⌘C instead of failing silently, and counts the user's own copy as success. Status is announced politely.

Buttons · Chomodo Studio 0 likes 0 installs
Block

A hero for developer tools: a large headline beside one sentence, two actions and a copy-to-clipboard install command, above a wide terminal that types a command and prints its output line by line, then offers a replay. Command, output lines, tones and timings are props. With reduced motion the terminal shows the finished session at once, and screen readers get the full transcript instead of the animation.

Hero sections · Chomodo Studio 0 likes 0 installs