Checkpoint
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldCheckpoint(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/input-checkpointAbout this component
An email field drawn as a sci-fi readout: a thin cyan frame with corner brackets, a ruler along its foot and a block cursor blinking at the start. When you leave the field a scan line sweeps it, then the frame turns green and draws a tick for a valid address, or turns red, shakes and shows a warning mark for a bad one.
Triggers
- Focus
- State change
- Draw
- Border
- Keyframe
- Glow
Techniques
- Keyframes
- CSS variables
- stroke-dashoffset
- SVG stroke
- CSS transition
- State machine
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native email input inside a <label>, named by aria-label ("Email"), that carries aria-invalid when the address is wrong; the result is also announced in words ("Valid email" or "Enter a valid email") by a visually hidden role="status" element, so it is never colour alone. Focus is shown by a ring and glow on the frame.
Reduced motion
Every transition and animation is switched off.
Use it in anything you build, commercial and client work included. Licence