Step by Step navigation
- Status
- Stable
- Type
- Canada.ca design pattern
- Last review
- 2023-09-05
- Guidance
- Step by step navigation (service initiation pages): Canada.ca design system
- Technical name
-
gc-stp-stp
Purpose
Shows links to each step in initiating the service and highlights the currently selected step.
Working example
How to implement
- Create a
<div>
with the CSS classgc-stp-stp
. - Within this
<div>
, create either a<ul>
or<ol>
(the correct tag will depend on whether or not your pages have a logical order. To this<ul>
or<ol>
add the CSS classesrow
andtoc
. - Within this
<ul>
or<ol>
, add your<li>
and add the following CSS classes:col-md-4
andcol-sm-6
to every<li>
. - Within those
<li>
, create a<a>
with the CSS classlist-group-item
. - To the current page's
<a>
add the CSS classactive
.
Note: this component should be inserted directly after the byline.
Evaluation and report
There is no evaluation and report available for this component.
API (Version 1.0)
CSS Class | Template | Visual rendering | Schema |
---|---|---|---|
Version 1.0 | Version 2.0 | Version 1.0 | n.a. |
CSS Class (v1.0)
gc-stp-stp
- Component: Step by Step navigation
Version notes
- Version 1.0
-
- Created:
.gc-stp-stp
- Created:
Template (v2.0)
Version notes
- Version 2.0
-
- Removed
<div class="row">
wrapping the list. - Applied the CSS class
row
directly to the list. - Removed the CSS classes
lst-spcd
andcol-md-12
from the list. - Removed
clr-lft-[breakpoint]
CSS classes.
- Removed
- Version 1.0
-
- Initial template
Visual rendering (v1.0)
Version notes
- Version 1.0
-
- Original rendering
Page details
- Date modified: