Performance
PassFrame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.4 KB · Runtime 1.1 KB
smart-bobcat-50MITCheckboxUiverse.io
A checkbox built with plain HTML and CSS by KSAplay. Collected from Uiverse.io under the MIT licence and shown here live.
Quality report
The grade and score come from automated checks run at build or test time. If a check did not run, it is marked Not tested — numbers are never invented.
Frame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.4 KB · Runtime 1.1 KB
Issues 0 · Screen reader: Pass
No continuous motion
No overflow
Frame rate and long-task figures were measured in headless Chromium with software WebGL. They are only comparable between components on this site, and do not represent real devices.
Not applicable: no visible animation at rest. Hover-triggered animation was not tested.
No axe-core violations.

Checked Nov 15, 2026 · Figures come from an automated script, not from hand-written samples.
Shown at real size.
The copy starts with the licence notice. Keep it when you use the code.
<label class="container">
<input checked="checked" type="checkbox">
<div class="checkmark">
<svg viewBox="0 0 256 256">
<rect fill="none" height="256" width="256"></rect>
<path d="M224.6,51.9a59.5,59.5,0,0,0-43-19.9,60.5,60.5,0,0,0-44,17.6L128,59.1l-7.5-7.4C97.2,28.3,59.2,26.3,35.9,47.4a59.9,59.9,0,0,0-2.3,87l83.1,83.1a15.9,15.9,0,0,0,22.6,0l81-81C243.7,113.2,245.6,75.2,224.6,51.9Z" stroke-width="20px" stroke="#FFF" fill="none"></path></svg>
</div>
</label>/* From Uiverse.io by KSAplay - Tags: checkbox, like, heart */
.container input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
.container {
display: block;
position: relative;
cursor: pointer;
font-size: 20px;
user-select: none;
transition: 100ms;
}
.checkmark {
top: 0;
left: 0;
height: 2em;
width: 2em;
transition: 100ms;
animation: dislike_effect 400ms ease;
}
.container input:checked ~ .checkmark path {
fill: #FF5353;
stroke-width: 0;
}
.container input:checked ~ .checkmark {
animation: like_effect 400ms ease;
}
.container:hover {
transform: scale(1.1);
}
@keyframes like_effect {
0% {
transform: scale(0);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
@keyframes dislike_effect {
0% {
transform: scale(0);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}Controls · HTML · CSS · JS
Edit the code and tune it with the controls. The preview updates as you type.

This component runs from a bundled build, so its script is read-only here. Edit the HTML and CSS; the full source is in the Code tab.
Edit every component live, tune it with controls, download the full source and copy the advanced prompts.
$49 one-timePlaceholder price
Test mode: no real payment is taken.
Free: preview, copy buttons and the lesson notes.
An outlined heart grows on hover and fills coral red with a 400ms like pop when checked, and does a reverse pop when unchecked.
Likes on posts, wishlists and favourites.
Change the #FF5353 fill, the 2em size, the 400ms like_effect and dislike_effect animations and the 1.1 hover scale.
Build a "Heart like checkbox" component in plain HTML, CSS and JavaScript (no framework). An outlined heart grows on hover and fills coral red with a 400ms like pop when checked, and does a reverse pop when unchecked. Use it for: Likes on posts, wishlists and favourites. Expose these controls: Change the #FF5353 fill, the 2em size, the 400ms like_effect and dislike_effect animations and the 1.1 hover scale. Support light and dark themes, respect prefers-reduced-motion with a still frame, keep text readable and controls keyboard accessible. Write original code; do not copy from paid or restricted component libraries.
A longer prompt with tuning, accessibility and integration steps.