Open this example in the interactive library
Source code
<div class="demo flex flex-wrap w-36 gap-2">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>
Wrap a flex row onto new lines with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo flex flex-wrap w-36 gap-2">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>