Pulse Ring Checkbox
A ring pulses outward from the box on check, like a sonar ping.
Pulse Ring Checkbox the 17th 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-pulse">
<input class="cb-pulse__input" type="checkbox" checked />
<span class="cb-pulse__box">
<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>Pulse ring checkbox</span>
</label> .cb-pulse {
display: inline-flex; align-items: center;
gap: 10px; cursor: pointer; user-select: none;
}
.cb-pulse__input { display: none; }
.cb-pulse__box {
width: 24px; height: 24px; border-radius: 7px;
border: 2px solid rgba(61,232,245,.3);
position: relative; overflow: visible;
display: flex; align-items: center;
justify-content: center; color: transparent;
transition: background .25s, border-color .25s,
color .25s;
}
.cb-pulse__box::after {
content: ""; position: absolute; inset: -6px;
border-radius: 13px;
border: 2px solid #3de8f5; opacity: 0;
}
.cb-pulse__input:checked + .cb-pulse__box {
background: linear-gradient(135deg, #3de8f5, #06b6d4);
border-color: #3de8f5; color: #fff;
}
.cb-pulse__input:checked + .cb-pulse__box::after {
animation: pulse-ring .6s ease-out forwards;
}
@keyframes pulse-ring {
0% { transform: scale(1); opacity: .8; }
100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.cb-pulse,
.cb-pulse * {
animation: none !important;
}
}