Skip to Content
DocsResourcesShowcase

Steps

Used to indicate progress through a multi-step process

SourceStorybookRecipeArk
Step 2

import { Steps } from '@saas-ui/react/steps'
<Steps.Root>
  <Steps.List>
    <Steps.Item />
  </Steps.List>
  <Steps.Content />
  <Steps.CompleteContent />
  <Steps.PrevTrigger />
  <Steps.NextTrigger />
</Steps.Root>

Use the size prop to change the size of the steps component.

Step 1
Step 1
Step 1

Use the variant prop to change the appearance of the steps component.

Step 1
Step 1

Use the colorPalette prop to change the color scheme of the component.

Step 2
Step 2
Step 2
Step 2
Step 2
Step 2
Step 2
Step 2
Step 2
Step 2

Use the orientation prop to change the orientation of the steps component.

Step 2

Pass the icon prop to the StepsItem component to display an icon.

Payment

Pass the description prop to the StepsItem component to display a description.

Step 2

PropDefaultType
orientation 'horizontal'
'vertical' | 'horizontal'

The orientation of the component

colorPalette 'gray'
'gray' | 'red' | 'orange' | 'yellow' | 'green' | 'teal' | 'blue' | 'cyan' | 'purple' | 'pink' | 'accent'

The color palette of the component

variant 'solid'
'solid' | 'subtle'

The variant of the component

size 'md'
'sm' | 'md' | 'lg'

The size of the component

asChild
boolean

Use the provided child element as the default rendered element, combining their props and behavior.

For more details, read our Composition guide.
count
number

The total number of steps

defaultStep
number

The initial value of the step

ids
ElementIds

The custom ids for the stepper elements

linear
boolean

If `true`, the stepper requires the user to complete the steps in order

onStepChange
(details: StepChangeDetails) => void

Callback to be called when the value changes

onStepComplete
VoidFunction

Callback to be called when a step is completed

step
number

The current value of the stepper

as
React.ElementType

The underlying element to render.

unstyled
boolean

Whether to remove the component's style.

Previous

Status

Next

Switch