If a list item is long, the bullet stays aligned to the top.
There are no restrictions on the text length at all. You can write as much text as you want.
This item uses nested tags inside which should not break
If a list item is long, the bullet stays aligned to the top.
There are no restrictions on the text length at all. You can write as much text as you want.
<ul tuiList>
<li>If a list item is long, the bullet stays aligned to the top.</li>
<li>There are no restrictions on the text length at all. You can write as much text as you want.</li>
<!-- prettier-ignore -->
<li>This item uses <strong>nested tags</strong> inside which should not break</li>
</ul>
<ol tuiList>
<li>If a list item is long, the bullet stays aligned to the top.</li>
<li>There are no restrictions on the text length at all. You can write as much text as you want.</li>
</ol>
All bullets in this list share the same custom color
Set the--tui-list-markervariable on the list itself
No need to override the bullet background manually
Bullets can also be recolored individually
This one is a warning
This one is positive
<ul
style="--tui-list-marker: var(--tui-status-negative)"
tuiList
>
<li>All bullets in this list share the same custom color</li>
<!-- prettier-ignore -->
<li>Set the<code>--tui-list-marker</code>variable on the list itself</li>
<li>No need to override the bullet background manually</li>
</ul>
<ul tuiList>
<li>Bullets can also be recolored individually</li>
<li style="--tui-list-marker: var(--tui-status-warning)">This one is a warning</li>
<li style="--tui-list-marker: var(--tui-status-positive)">This one is positive</li>
</ul>