A component that displays progress through a sequence of logical and numbered steps.
Cart
Shipping
Payment
Import the Stepper
component and its subcomponents from @bun-ui/react
:
import { Stepper, Step, StepLabel } from "@bun-ui/react"
<Stepper activeStep={1}>
<Step>
<StepLabel>Step 1</StepLabel>
</Step>
<Step>
<StepLabel>Step 2</StepLabel>
</Step>
<Step>
<StepLabel>Step 3</StepLabel>
</Step>
</Stepper>
A simple stepper with default styling. Use the activeStep
prop to control the current step.
Cart
Shipping
Payment
Customize the connector between steps using the connector
prop.
This example shows how to create a gradient connector that changes color based on the step state.
Application
Interview
Offer
Customize the appearance of each step using the classes
prop in each subcomponent.
Account
Profile
Preferences