Stepper

Designer doc
Stepper component helps user to manage navigation in a sequence manner.

Example

Basic Stepper
The basic stepper is horizontal and medium size. Step value start from 0 instead of 1 If buttonClickable is true, StepButton will be clickable
View code
Bar Stepper
Bar stepper only have horizontal orientation and don’t have connector. Bar stepper with size small will not have description, and long description content will be wrap in EllipsisTooltip.
View code
Dot Stepper
Dot stepper comes with horizontal and vertical orientation but does not different in size.
View code
Vertical and Small size Stepper Variant
The basic stepper support vertical orientation and small size. The dot stepper support vertical orientation.
View code
Icon Stepper
Custom icon can pe provided, icon size requirement is 16px.
View code
Advanced usage
For vertical stepper the description part can be use as content
View code

References

API

Step
Prop nameTypeDefaultDescription
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
connectorReactNode
descriptionReactElement<any, string | JSXElementConstructor<any>>
indexnumber
statusStepStatuses
titleReactNode
StepButton
Prop nameTypeDefaultDescription
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
clickableboolean
default is true if onClick is provided, or else default to false
disabledboolean
Equivalent to button's disabled property.
iconReactNode
iconWrapperPropsHTMLAttributes<HTMLDivElement>
keyboardClickKeysstring[]
onBlurFocusEventHandler<HTMLDivElement>
onClickMouseEventHandler<HTMLDivElement>
onKeyDownKeyboardEventHandler<HTMLDivElement>
onKeyUpKeyboardEventHandler<HTMLDivElement>
onMouseDownMouseEventHandler<HTMLDivElement>
onMouseLeaveMouseEventHandler<HTMLDivElement>
onMouseUpMouseEventHandler<HTMLDivElement>
onReleaseEventHandler<SyntheticEvent<HTMLDivElement, Event>>
Callback that's triggered after click i.e. mouseup and keyup of enter or space.
onTouchEndTouchEventHandler<HTMLDivElement>
onTouchStartTouchEventHandler<HTMLDivElement>
titleReactNode
titleWrapperPropsHTMLAttributes<HTMLDivElement>
StepConnector
Prop nameTypeDefaultDescription
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
StepDescription
Prop nameTypeDefaultDescription
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
ellipsisbooleantrue
ellipsisTooltipPropsOmit<EllipsisTooltipProps, "children">
Stepper
Prop nameTypeDefaultDescription
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
buttonClickableboolean
connectorReactNode<StepConnector />
initialValuenumber0
onChange(value: number) => void
orientationStepperOrientationshorizontal
sizeStepperSizesmedium
valuenumber
variantStepperVariantsbasic
    Example
    Example
    Basic Stepper
    Basic Stepper
    Bar Stepper
    Bar Stepper
    Dot Stepper
    Dot Stepper
    Vertical and Small size Stepper Variant
    Vertical and Small size Stepper Variant
    Icon Stepper
    Icon Stepper
    Advanced usage
    Advanced usage
    References
    References
    API
    API
    Step
    Step
    StepButton
    StepButton
    StepConnector
    StepConnector
    StepDescription
    StepDescription
    Stepper
    Stepper
Coral is a thoroughly developed design system widely adopted by developers and designers for creating beautiful and user-friendly Sea internal products.

Copyright © 2018-2025 Sea Labs