Step Indicator (step_indicator
)
A step indicator updates users on their progress through a multi-step process.
🔗 External documentation.
ID | Label | Description | Schema |
---|---|---|---|
completed_items | Completed Items | An array of completed patterns. | |
in_progress_items | In Progress Items | An array of in progress items. | |
heading_level | Heading level |
|
|
label | Label | Label of the step indicator. |
|
id: step_indicator
label: 'Step Indicator'
description: 'A step indicator updates users on their progress through a multi-step process.'
group: List
homepage: 'https://designsystem.digital.gov/components/step-indicator/'
variants:
default:
id: default
label: Default
no_labels:
id: no_labels
label: 'No labels'
description: 'Don’t show step labels.'
counters:
id: counters
label: Counters
description: 'Show step counters.'
counters_sm:
id: counters_sm
label: 'Counters - Small'
description: 'Show small step counters.'
center:
id: center
label: Center
description: 'Center counters and labels in each step.'
slots:
completed_items:
id: completed_items
label: 'Completed Items'
description: 'An array of completed patterns.'
in_progress_items:
id: in_progress_items
label: 'In Progress Items'
description: 'An array of in progress items.'
props:
heading_level:
id: heading_level
label: 'Heading level'
schema:
type: integer
enum:
- 2
- 3
- 4
- 5
- 6
label:
id: label
label: Label
description: 'Label of the step indicator.'
schema:
type: string
examples:
preview:
id: preview
label: Preview
renderable:
'@component': step_indicator
completed_items:
- First
- Second
- Third
in_progress_items:
- Fourth
- Fifth
heading_level: 4
label: 'Support documents'
Default
(
default
)
- First Completed
- Second Completed
- Third Completed
- Fourth Not completed
- Fifth Not completed
Step 3 of 5 Support documents
No labels
(
no_labels
)
Don’t show step labels.
- First Completed
- Second Completed
- Third Completed
- Fourth Not completed
- Fifth Not completed
Step 3 of 5 Support documents
Counters
(
counters
)
Show step counters.
- First Completed
- Second Completed
- Third Completed
- Fourth Not completed
- Fifth Not completed
Step 3 of 5 Support documents
Counters - Small
(
counters_sm
)
Show small step counters.
- First Completed
- Second Completed
- Third Completed
- Fourth Not completed
- Fifth Not completed
Step 3 of 5 Support documents
Center
(
center
)
Center counters and labels in each step.
- First Completed
- Second Completed
- Third Completed
- Fourth Not completed
- Fifth Not completed