Open this example in the interactive library
Source code
<div class="demo grid grid-flow-col auto-cols-[4rem] overflow-auto gap-2">
<b>Slate</b><b>Clay</b><b>Ink</b><b>Ivory</b>
</div>
Rail of fixed swatches with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo grid grid-flow-col auto-cols-[4rem] overflow-auto gap-2">
<b>Slate</b><b>Clay</b><b>Ink</b><b>Ivory</b>
</div>