Make an animated checkmark and copy the code
Type what just happened. Get a tick, cross or alert icon that draws itself, with your words beside it, as HTML and CSS, SVG or React.
- Free, no sign-up
- Runs in your browser
- HTML + CSS, SVG, React
Success words get a tick, failures a cross, warnings an exclamation mark. You can change it after.
Nothing in mind? Try one:
How it works
- Type what just happened. "Payment sent" gets a tick, "Card declined" a cross, "Unsaved changes" an exclamation mark, "New version available" an i. Your words appear beside the icon.
- Pick a style and tune it. Drawn circle, filled pop, mark only, ring burst or a small inline badge for form fields. Change the size, the time it takes to draw, the delay, the easing, the pop, the shake and when it hides; the preview plays it again as you go.
- Check it. The page checks the timing against the animation rules for feedback (a checkmark draws in 300 to 500 ms, inline validation in 100 to 200 ms, feedback starts within 100 ms, a success hides after 2000 to 4000 ms, an error stays), the contrast of the icon and the text, and that the words match the icon.
- Copy it. As HTML and CSS, CSS only, HTML only, a small JavaScript function that shows it, an animated SVG file or a React component, or download a standalone .html page.
Questions
- How long should a checkmark animation take?
- 300 to 500 ms for the checkmark to draw, about 400 ms, starting within 100 ms of the action. Inline form validation is quicker: 100 to 200 ms. A success message can hide itself 2000 to 4000 ms after it appears.
- Should an error disappear on its own?
- No. A success celebrates briefly and leaves, but an error stays until the person acts on it. The error cross shakes for 400 ms after it draws, with ease-in-out so the shake settles, and has no celebratory overshoot.
- Is the animation accessible?
- The message is real text beside the icon, which is hidden from screen readers so the words are not read twice. A success uses role=status, an error role=alert so it is announced at once. The CSS has a prefers-reduced-motion rule that shows the finished icon without motion, and the page checks the icon for 3:1 contrast and the text for 4.5:1.
- Is anything uploaded?
- No. The animation, the check and the code are made in your browser. The optional AI advice sends the settings, your message and your description, only when you press its button. If you sign in, the animations you copy or download are also kept in your SkillSafe account.
- Can I use the SVG as an image?
- Yes. The downloaded .svg carries its own animation, so it plays once in an
<img>tag and keeps the finished icon. The message and the auto-hide are in the HTML and CSS version.