Skip to content

Bulleted and numbered list

ms-list--list-style-unordered (bullets) or ms-list--list-style-ordered (numbers): the items stacked, the markers in the tone's text color, the text in its own.

Example

  • Nothing leaves the device
  • No account needed
  • Finds a document by any word inside it, in any of your folders
  1. Pick a folder
  2. Paste your queries
  3. Export the report
<ul class="ms-list ms-list--list-style-unordered">
  <li>Nothing leaves the device</li>
  <li>No account needed</li>
  <li>Finds a document by any word inside it, in any of your folders</li>
</ul>
<ol class="ms-list ms-list--list-style-ordered ms-tone-success">
  <li>Pick a folder</li>
  <li>Paste your queries</li>
  <li>Export the report</li>
</ol>

Usage

<ul class="ms-list ms-list--list-style-unordered">
  <li>…</li>
</ul>
Prop Values
lstStyle unstyled (default) · unordered · ordered

In React: <ListBasic lstStyle="unordered">, which renders an ol for ordered.

Customize: --ms-list-indent (room for the markers), --ms-list-gap (between items).