limestone/Steps
Provides Limestone styled component to indicate progress along a continuum.
In the following example, 6 total steps will be displayed with the current step being the 3rd step, having passed the previous 2 steps, with 3 more to go.
Loading Live Preview
Loading Live Preview
Members
Section titled “Members ”Steps Component
Section titled “Steps   Component ”A full-featured Limestone-styled step component.
Extends:
limestone/Stepslimestone/Steps.StepsBase
Wrapped with:
limestone/Stepslimestone/Steps.StepsDecorator
StepsBase Component
Section titled “StepsBase   Component ”Renders a limestone-styled steps component only basic behavior.
Properties
Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.
The following classes are supported:
steps- The root class namestep- Applied to each individual stepnumbers- Applied on the steps designated as "numbers" special case (See:Iconrelated props below)past- Applied to the steps preceding the current stepcurrent- Applied to the current stepfuture- Applied to the steps following the current step
When providing a custom iconComponent it will receive the classes:
'step' (always), 'numbers' (conditionally, based on the "numbers" value), and one of the
following three, based on the current step: 'past', 'current', and 'future'.
current
Section titled “current”Indicate the current step.
This is 1-based, not 0-based; as in the first step is 1.
currentIcon
Section titled “currentIcon”The icon to use for indicating the current step.
This accepts any icon supported by limestone/Iconlimestone/Icon, in addition to a special value: "numbers", which instead of a standard icon, shows the number of the step.
Default: 'numbers'futureIcon
Section titled “futureIcon”The icon to use for indicating all steps following the current step.
This accepts any icon supported by limestone/Iconlimestone/Icon, in addition to a special value: "numbers", which instead of a standard icon, shows the number of the step.
Default: 'numbers'highlightCurrentOnly
Section titled “highlightCurrentOnly”Defines how to represent the current step.
When true, highlight effect will be applied only to the current icon.
When false, highlight effect will be applied to past and current icons.
iconComponent
Section titled “iconComponent”Defines a custom element to use as the icon component.
Use the css prop and public class name override system to target the classes applied to
this component. This component will be repeated total number of times and will also
receive the children and size props.
pastIcon
Section titled “pastIcon”The icon to use for indicating all steps preceding the current step.
This accepts any icon supported by limestone/Iconlimestone/Icon, in addition to a special value: "numbers", which instead of a standard icon, shows the number of the step.
Default: 'check'The size of the step icons.
This accepts any size supported by limestone/Iconlimestone/Icon.
Indicate which steps to skip.
A number or array of step numbers is acceptable.
skipIcon
Section titled “skipIcon”The icon to use for any skipped steps, past or future.
This accepts any icon supported by limestone/Iconlimestone/Icon.
The current step will always show the currentIcon regardless of whether it has been
skipped. It's the developer's responsibility to not set current to a skipped step.
Indicate the total number of steps.
Default: 2StepsDecorator Higher-Order Component
Section titled “StepsDecorator   Higher-Order Component ”Limestone-specific behaviors to apply to limestone/Stepslimestone/Steps.StepsBase.
Includes:
limestone/Skinnablelimestone/Skinnable.Skinnable