Skip to content

Lists

The list utility removes markers and inline padding. The base layer styles regular ul and ol elements, so use this only when a list is really a menu, a row of tags, or another non-prose structure.

Class Effect
list-unstyled list-style: none, padding-inline-start: 0
<ul class="list-unstyled">
<li>One</li>
<li>Two</li>
</ul>
<nav aria-label="Footer">
<ul class="list-unstyled d-flex flex-wrap gap-4">
<li><a href="/docs/">Docs</a></li>
<li><a href="/layout/">Layout</a></li>
<li><a href="/tokens/">Tokens</a></li>
</ul>
</nav>
  • Keep the list semantics. Removing markers does not turn a list into a set of divs, and screen readers still announce the item count.
  • For a horizontal menu, add d-flex and Gap rather than margins on every item.
  • Lists have no breakpoint variants.
  • If the content is prose, keep the default markers and indentation. They help scanning.