Radial Stepper displays a circular progress indicator for multi-step processes, available in Primary and Neutral styles, four sizes, and both horizontal and vertical layouts.
Loading demo: radial-stepper-real-world
npx sdaia-ui@latest add radial-stepper
import { RadialStepper } from '@/components/ui/RadialStepper';<RadialStepper steps={4} current={1} style="primary" layout="horizontal" /><RadialStepper steps={4} current={1} style="primary" layout="horizontal" />Radial stepper in the default neutral style.
Loading demo: radial-stepper-neutral
Radial stepper on a coloured background.
Loading demo: radial-stepper-on-color
Radial stepper with steps arranged vertically.
Loading demo: radial-stepper-vertical
Radial stepper with steps arranged horizontally.
Loading demo: radial-stepper-horizontal
Props for the RadialStepper component.
Prop | Type | Default | Required |
|---|---|---|---|
size | '48px' | '64px' | '80px' | '120px' | '64px' | optional |
layout | 'Horizontal' | 'Vertical' | 'Horizontal' | optional |
variant | 'Primary' | 'Neutral' | 'Primary' | optional |
rtl | boolean | false | optional |
indicator | '1 of 4' | '2 of 4' | '3 of 4' | '4 of 4' | '1 of 4' | optional |
previousLabel | string | 'Previous:' | optional |
showPrevious | boolean | true | optional |
stepName | string | 'Step One' | optional |
showStepName | boolean | true | optional |
description | string | 'this is step description' | optional |
showDescription | boolean | true | optional |
nextLabel | string | 'Next:' | optional |
showNext | boolean | true | optional |
How this component behaves at the three system breakpoints. Spacing and type tokens switch automatically at 768px and 1280px.
| Screen | Behavior |
|---|---|
| Desktop (1280px and up) | A ring (48–120px, set with size) with the step text beside it (horizontal) or below it (vertical). |
| Tablet (768–1279px) | Same layout as desktop, with the tablet token values. |
| Phone (under 768px) | The same ring and text sizes: the text uses fixed pixel sizes tied to size, not the screen tokens. Use the vertical layout in narrow spaces. |