Styles live in scss/components/_list.scss. Use a semantic <ol class="list__items"> for ordered steps, or <ul> when order does not matter. Decorative indicators sit beside title and description blocks.
Indicators
Each row starts with a 24px circle: a process step number or an icon marker. Mark indicators aria-hidden="true" when the list order already conveys sequence.
Single item
Combine .list__item, .list__indicator, and .list__content for one row outside a full list (cards, timelines, side panels).
Verify your email
We sent a confirmation link. Open it to continue.
<div class="list__item">
<span class="list__indicator" aria-hidden="true">2</span>
<div class="list__content">
<h3 class="list__title">Title</h3>
<p class="list__description">Description</p>
</div>
</div>
Full list (process steps)
Wrap items in .list with an optional .list__heading. Use <h3 class="list__title"> per row so heading levels stay logical under the section title.
Onboarding steps
-
Create your account
Use a work email so teammates can find you.
-
Verify your email
Check your inbox for the confirmation link.
-
Invite your team
Add colleagues and assign roles.
-
Publish your first project
Share a link or export your layout.
Icon indicators
Swap the number for an icon in .list__indicator-icon (for example <i class="ph ph-bookmark"> at 16px inside the 24px circle).
Saved resources
-
Design tokens
Color, type, and spacing variables for your product.
-
Component checklist
Accessibility and responsive checks before release.
-
Release notes
What changed in the latest PimentCSS build.
<div class="list">
<h2 class="list__heading heading-h5">Heading</h2>
<ol class="list__items">
<li class="list__item">
<span class="list__indicator" aria-hidden="true">1</span>
<div class="list__content">
<h3 class="list__title">Title</h3>
<p class="list__description">Description</p>
</div>
</li>
</ol>
</div>
Class reference
| Class | Description |
|---|---|
.list | Vertical stack: optional heading + items |
.list__heading | Section title above the items |
.list__items | ol or ul reset list (no bullets) |
.list__item | Row: indicator + content |
.list__indicator | 24px circular marker (number or icon) |
.list__indicator-icon | Icon size inside the marker |
.list__content | Title + description column |
.list__title | Row heading (H6 scale) |
.list__description | Supporting body text |
Customize (Sass)
-
List spacing
Tune gaps between items and indicator size.@use "pimentcss-design-system" with ( $list-gap: 1rem, $list-items-gap: 0.5rem, $list-indicator-size: 1.5rem ); -
Rebuild CSS
Run after editing _list.scss.npm run build:css
Accessibility (RGAA / WCAG)
Lists and steps
- Ordered steps, use
<ol class="list__items">so screen readers announce position. - Unordered content, use
<ul class="list__items">when sequence is not meaningful. - Decorative indicators, add
aria-hidden="true"on.list__indicatorwhen numbers duplicate what the list order already provides. - Headings, keep one logical level: section
.list__heading, then<h3 class="list__title">per item. - Icons, if the icon conveys meaning (not just decoration), expose that text in the title or use visible text plus
aria-hiddenon the icon.