Progress steps
Progress lists in Base are used to denote staged progress of an action or activity. This list type provides the user with a sense of awareness around progress and the steps remaining.
Examples
Overrides
Additionally, you can fully customize any part of the ProgressSteps through the overrides prop. The ProgressSteps consists of multiple subcomponents that are listed bellow and you can override each one of them. To help you identify the names of these subcomponents, you can highlight them through this selector:
- Step 1Content
- Step 2
- Step 1
- 2Step 2Content
Note: You should always use longhand CSS properties. Mixing shorthands and longhands will lead into strange behaviors!
API
ProgressSteps API
Warning any = "Prop types are not shown in dev mode"
extract-react-types is not being run in dev mode for speed reasons. If you need to
see prop types add the environment variable FORCE_EXTRACT_REACT_TYPES
eg:
FORCE_EXTRACT_REACT_TYPES=true yarn start <packageName>FORCE_EXTRACT_REACT_TYPES=true yarn start:<team>
NumberedStep API
Warning any = "Prop types are not shown in dev mode"
extract-react-types is not being run in dev mode for speed reasons. If you need to
see prop types add the environment variable FORCE_EXTRACT_REACT_TYPES
eg:
FORCE_EXTRACT_REACT_TYPES=true yarn start <packageName>FORCE_EXTRACT_REACT_TYPES=true yarn start:<team>
Step API
Warning any = "Prop types are not shown in dev mode"
extract-react-types is not being run in dev mode for speed reasons. If you need to
see prop types add the environment variable FORCE_EXTRACT_REACT_TYPES
eg:
FORCE_EXTRACT_REACT_TYPES=true yarn start <packageName>FORCE_EXTRACT_REACT_TYPES=true yarn start:<team>
Progress Steps exports
You can import this module like so:
import {ProgressSteps} from 'baseui/progress-steps'
It exports the following components or utility functions:
- ProgressSteps
- Step
- NumberedStep
- StyledProgressSteps
- StyledStep
- StyledIcon
- StyledInnerIcon
- StyledContent
- StyledContentTitle
- StyledContentTail
- StyledContentDescription
- StyledNumberStep
- StyledNumberIcon
- StyledNumberContentTail