Skip to content

List

A <ul> with Tabler’s list helpers, for a list that needs no borders: people, links in a footer, the steps of a procedure. For bordered rows, use List group.

separated stacks the items with a gap (list-separated), for items that are blocks, such as a picture next to two lines of text. unstyled removes the bullets and the indent (list-unstyled).

inline lays the items out in a row (list-inline), and its List:Items follow it (list-inline-item). dots adds a dot between the items (list-inline-dots), and has no effect without inline:

ordered renders an <ol>, for items whose order matters:

Prop Type Default Description
separated bool false Stacks the items with a gap (list-separated)
inline bool false Items in a row (list-inline); its List:Items follow it
dots bool false With inline: a dot between the items (list-inline-dots)
unstyled bool false No bullets and no indent (list-unstyled)
ordered bool false Renders an <ol> instead of a <ul>

Other attributes go to the root <ul> (or <ol>).

List:Item:

Prop Type Default Description
inline bool? null Item of an inline list (list-inline-item); null follows the parent List

Other attributes go to the <li>. An item placed outside a List, e.g. in a list of your own markup, needs inline set by hand; inline="{{ false }}" keeps an item of an inline list out of the row.

Component Renders
List:Item <li>: one list item
Block Default
content Empty: the children, the List:Items

List:Item has an empty content block too, for the item content.