Neon Glow Checkbox
Electric box-shadow glow blooms when checked. The checkmark is an inline SVG.
Neon Glow Checkbox the 2nd 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-neon">
<input class="cb-neon__input" type="checkbox" checked />
<span class="cb-neon__box">
<svg width="12" height="9" viewBox="0 0 14 11" fill="none">
<polyline
points="1,5.5 5,9.5 13,1"
stroke="#fff"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</span>
<span>Neon glow on check</span>
</label> .cb-neon {
display: inline-flex; align-items: center;
gap: 10px; cursor: pointer; user-select: none;
}
.cb-neon__input { display: none; }
.cb-neon__box {
width: 22px; height: 22px; border-radius: 6px;
border: 2px solid rgba(124,108,255,.4);
display: flex; align-items: center;
justify-content: center; color: transparent;
transition: all .25s;
}
.cb-neon__input:checked + .cb-neon__box {
background: #7c6cff;
border-color: #7c6cff; color: #fff;
box-shadow:
0 0 12px rgba(124,108,255,.7),
0 0 24px rgba(124,108,255,.3);
}