yarn add @twilio-paste/progress-steps - or - yarn add @twilio-paste/core
import {
ProgressSteps,
ProgressStepIncomplete,
ProgressStepComplete,
ProgressStepCurrent,
ProgressStepError,
ProgressStepSeparator,
} from '@twilio-paste/core/progress-steps';
const PopoverExample: React.FC = () => {
return (
<ProgressSteps>
<ProgressStepComplete as="button" onClick={() => {}}>
Sign up
</ProgressStepComplete>
<ProgressStepSeparator />
<ProgressStepError as="button" onClick={() => {}}>
Validate email
</ProgressStepError>
<ProgressStepSeparator />
<ProgressStepCurrent as="button" onClick={() => {}}>
Complete profile
</ProgressStepCurrent>
<ProgressStepSeparator />
<ProgressStepIncomplete as="button" onClick={() => {}}>
Add friends
</ProgressStepIncomplete>
<ProgressStepSeparator />
<ProgressStepIncomplete as="button" onClick={() => {}} disabled>
Start event
</ProgressStepIncomplete>
</ProgressSteps>
);
};
element
Overrides the default element name to apply unique styles with the Customization Provider.
- Type
any
- Default
'PROGRESS_STEPS'
orientation
- Type
Orientation
- Default
'horizontal'
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
element
Overrides the default element name to apply unique styles with the Customization Provider
- Type
any
- Default
'PROGRESS_STEP_SEPARATOR'
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.