Ripple Wave Checkbox
A ring expands outward from the checkbox on check using a scale + fade keyframe.
Ripple Wave Checkbox the 12th of 23 designs in the 23 CSS Checkboxes collection. The design is implemented in pure CSS — no JavaScript required. Copy the HTML and CSS panels below into your project. Because the demo is pure CSS, it works in any framework or templating engine you happen to use. The design honours prefers-reduced-motion and uses real semantic markup, so it ships accessibility-ready out of the box.
Live preview
The code
<label class="cb-ripple">
<input class="cb-ripple__input" type="checkbox" checked />
<span class="cb-ripple__box">
<span class="cb-ripple__wave"></span>
<svg width="12" height="9" viewBox="0 0 14 11" fill="none">
<polyline
points="1,5.5 5,9.5 13,1"
stroke="white"
stroke-width="2.2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</span>
<span>Ripple wave checkbox</span>
</label> .cb-ripple {
display: inline-flex; align-items: center;
gap: 10px; cursor: pointer; user-select: none;
}
.cb-ripple__input { display: none; }
.cb-ripple__box {
width: 24px; height: 24px; border-radius: 7px;
border: 2px solid rgba(255,108,138,.4);
position: relative; overflow: visible;
display: flex; align-items: center;
justify-content: center; color: transparent;
transition: background .25s, border-color .25s,
color .25s;
}
.cb-ripple__wave {
position: absolute; inset: -4px;
border-radius: 11px;
border: 2px solid #ff6c8a;
opacity: 0;
}
.cb-ripple__input:checked + .cb-ripple__box {
background: #ff6c8a; border-color: #ff6c8a;
color: #fff;
}
.cb-ripple__input:checked
+ .cb-ripple__box .cb-ripple__wave {
animation: ripple-out .5s ease-out forwards;
}
@keyframes ripple-out {
0% { transform: scale(1); opacity: .8; }
100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.cb-ripple,
.cb-ripple * {
animation: none !important;
}
}