Type To Confirm

A destructive confirm that stays disabled until the exact name is typed, with the name in plain sight.

Delete project

This removes every deployment. To confirm, type acme-prod

0/9 characters

Build a destructive confirmation gated on typing the exact name. Structure: a card with a title, an instruction sentence containing the name, an input, a destructive button, and a status line. Show the name in plain sight, inside a code chip, SELECTABLE. Hiding it turns a safety gate into a memory test, and people copy and paste it either way. What this pattern buys is a deliberate pause, not recall. The button is ARMED, not hidden: render it from the start at about 0.4 opacity, disabled, and bring it to full opacity on an exact match. A button that appears out of nowhere gives no clue what the field was for. Compare EXACTLY. No trimming, no lowercasing. A comparison that forgives whitespace or case is a gate that opens on a near miss, which is the one thing it exists to prevent. State progress in CHARACTERS ("7/9 characters", then "name matches, button armed"). Silence between typing and arming leaves people wondering whether the thing is broken. Use a MONOSPACE field, so a mistyped hyphen or a doubled letter is visible while typing rather than after the button refuses. Accessibility: a visually hidden label bound to the input, since the instruction sentence is not a label and a placeholder never is; aria-live="polite" on the status line. Under prefers-reduced-motion, change the button's opacity instantly. The gate and the wording are untouched, because they are the safety. Colors as tokens: destructive for the armed border and the button, surface and border at rest, muted ink for the instruction. Use a neutral placeholder project name. Build the component, not this demo of it. - Ambient motion that IS the component may loop: a drifting background, a marquee, a spinner while something is genuinely loading. - Do not add any timer, interval, loop or script that performs a person's action by itself. No auto-hover, no auto-click, no cycling through states, no pretend submitting, no replaying the interaction on a schedule. - Every state that answers a person waits for a real event from that person. - Placeholder copy and sample content are welcome. Simulated behaviour is not.

Rate it
0
0

We'd like to measure how the site gets used, with Google Analytics. It sets cookies. Everything the site needs to work runs either way. How we handle data