ComponentsNew

Checked Stepper

Steps with circles that turn into checks and a progress bar. Step content slides in the direction you move: forward or back.

Customize

accentColor
secondaryColor
glowColor

Based on Checked Stepper (MIT license) · Terms of use

More in Pro

View all

Props

11 properties
PropertyTypeDefaultDescription
steps{ label: string; content?: ReactNode }[]—Steps: label and content.
initialStepnumber0Step to start from, counted from zero.
showProgressbooleantrueBar that fills up to the current step.
activeScalenumber1.2How much the current step's circle is enlarged.
prevLabelstring"Previous"Back button text.
nextLabelstring"Next"Next button text.
onStepChange(step: number) => void—Called with the new step number.
accentColorstring"#ffffff"Main colour: completed steps, the start of the bar and the Next button.
secondaryColorstring"#a3a3a3"Second colour: where the progress bar gradient ends.
glowColorstring"rgba(255, 255, 255, 0.35)"Soft glow around the current step.
classNamestring—Extra classes.

Dependencies

4 required packages

npm install motion lucide-react clsx tailwind-merge

Related components

View all