List
List utilities extend the base <ul> and <ol> elements with consistent spacing, style variants, and layout modifiers. Apply .list to any list element, then combine with modifier classes to control appearance and behavior.
All list utilities are pure CSS and do not require the FrontAlign runtime.
Quick reference
| Group | Classes | Effect | Common use |
|---|---|---|---|
| Base | list | | Default list with consistent spacing. |
| Layout |
| | Navigation bars, tag lists, stripped layouts. |
| Bullet markers |
| | Unordered content, nested lists. |
| Numeric markers |
| | Ordered steps, numbered guides. |
| Alpha markers |
| | Sub-steps, formal ordered lists. |
| Roman markers |
| | Legal outlines, chapters, major sections. |
Usage
Apply .list to any <ul> or <ol> element. Chain modifier classes to control style and layout.
<ul class="list is-disc">
<li>Item one</li>
<li>Item two</li>
<li>Item three</li>
</ul>
- Item one
- Item two
- Item three
Unstyled list
Use is-unstyled to remove all markers and left padding. Useful for navigation, card lists, or custom-styled items.
<ul class="list is-unstyled">
<li>Item one</li>
<li>Item two</li>
</ul>
- Item one
- Item two
Inline list
Use is-inline to render list items horizontally as a flex row. Ideal for navigation bars and tag groups.
<ul class="list is-inline">
<li>Home</li>
<li>About</li>
<li>Contact</li>
</ul>
- Home
- About
- Contact
Leading-zero list
Use is-leading-zero for numbered lists that pad single digits with a leading zero.
<ol class="list is-leading-zero">
<li>Install the package</li>
<li>Import the CSS</li>
<li>Initialize the config</li>
</ol>
- Install the package
- Import the CSS
- Initialize the config
Nested list
All modifier classes can be mixed across nesting levels. Use different marker styles per level to indicate hierarchy.
<ol class="list is-decimal">
<li>
Main step
<ul class="list is-circle">
<li>Sub-step one</li>
<li>Sub-step two</li>
</ul>
</li>
<li>Next main step</li>
</ol>
Layout modifiers
| Class | CSS | Recommended use |
|---|---|---|
list | | Default base list with consistent spacing. |
list is-unstyled | | Remove markers and indent for custom layouts. |
list is-inline | | Horizontal item rows for navbars and tags. |
Marker styles
| Class | Marker | CSS | Common use |
|---|---|---|---|
is-disc | ● | list-style-type: disc | Standard unordered list. |
is-circle | ○ | list-style-type: circle | Secondary or nested lists. |
is-square | ■ | list-style-type: square | Structured, editorial lists. |
is-decimal | 1. 2. 3. | list-style-type: decimal | Ordered steps. |
is-leading-zero | 01. 02. 03. | | Numbered lists with leading zeros. |
is-lower-alpha | a. b. c. | list-style-type: lower-alpha | Sub-steps, footnotes. |
is-upper-alpha | A. B. C. | list-style-type: upper-alpha | Formal ordered lists. |
is-lower-roman | i. ii. iii. | list-style-type: lower-roman | Legal, academic outlines. |
is-upper-roman | I. II. III. | list-style-type: upper-roman | Chapters, major sections. |
Usage notes
- Apply
.listas the base class on every<ul>or<ol>element, then chain modifier classes directly onto it. - All marker classes work on both
<ul>and<ol>elements regardless of semantic type. .listinheritscolorfrom its parent. To apply a custom color, set it on the.listelement or a wrapping container.is-inlineandis-unstyledcan be combined for tag rows and horizontal navigation strips.- Use different marker classes per nesting level to visually separate hierarchy in nested lists.
- Avoid applying
is-inlineto long lists where wrapping might break the visual rhythm — consider a flex grid instead.