Open this example in the interactive library
Source code
<label
><input class="demo accent-teal-700" type="checkbox" checked /> Weekly
digest</label
>
Colour the native checkbox accent with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<label
><input class="demo accent-teal-700" type="checkbox" checked /> Weekly
digest</label
>