Open this example in the interactive library
Source code
<ul class="demo list-disc list-inside ps-3 max-w-[20ch]">
<li>A longer list item that wraps.</li>
<li>Next item</li>
</ul>
Place list markers within the text flow with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<ul class="demo list-disc list-inside ps-3 max-w-[20ch]">
<li>A longer list item that wraps.</li>
<li>Next item</li>
</ul>