Components

List

Styles <ul> and <ol> without touching either element globally: the class carries everything, including the reset of the browser's own indentation.

  • Now this is a story all about how
  • my life got flipped turned upside down
  • and I would like to take a minute

Ordered lists work the same way:

  1. First
  2. Second

No markers

There is no class for this, because it is one declaration:

  • No bullet

Selected and bordered items

An item is an ordinary colorable element, so a selection is a style plus a color — the same classes you use everywhere else:

  • Plain
  • Selected
  • Bordered

Striped and hoverable

These two need a structural selector, so they ship as modifiers on the list itself:

  • One
  • Two
  • Three

As a menu

A list inside a dropdown is the usual menu:

<div class="pui-dropdown" id="menu" popover>
  <ul class="pui-list pui-hoverable" style="list-style: none">
    <li class="pui-list-item">Profile</li>
    <li class="pui-list-item">Billing</li>
    <li class="pui-list-item">Sign out</li>
  </ul>
</div>