Skip to main content

UnorderedList

Displays a bulleted list of related items. Use to present collections of items or options where the sequence isn’t critical.

Anchor to children
children
HTMLElement

The items of the UnorderedList.

Only ListItems are accepted.

Represents a single item within an unordered or ordered list. Use only as a child of s-unordered-list or s-ordered-list components.

Anchor to children
children
HTMLElement

The content of the ListItem.

Examples
<s-unordered-list>
<s-list-item>Red shirt</s-list-item>
<s-list-item>Green shirt</s-list-item>
<s-list-item>Blue shirt</s-list-item>
</s-unordered-list>

Preview

  • Use to break up related content and improve scannability
  • Phrase items consistently (start each with a noun or verb)
  • Start each item with a capital letter
  • Don't use commas or semicolons at the end of lines
Was this page helpful?