Steps#

Display progress through a multi-step process with numbered or custom-content step indicators.

Import#

TSX
import { Steps, Card, Row, Button } from '@sigx/daisyui';

Basic Usage#

TSX
Loading preview...

Colors#

Each step can have a different color to indicate status.

TSX
Loading preview...

Custom Content (data-content)#

Use the content prop to display custom symbols in the step circle.

TSX
Loading preview...

Vertical Steps#

TSX
Loading preview...

Responsive (Vertical on Mobile, Horizontal on Large Screens)#

Use vertical with a responsive class override to switch layout at breakpoints.

TSX
Loading preview...

Mixed Colors#

Combine different colors to show progress status.

TSX
Loading preview...

Scrollable Horizontal Steps#

Wrap with overflow utility for many steps.

TSX
Loading preview...

Props#

Steps Props#

PropTypeDefaultDescription
itemsStepItem[]-Step items (alternative to compound pattern)
modelSignal<string>-Current step ID (for items mode)
verticalbooleanfalseVertical layout (steps-vertical)
horizontalbooleanfalseHorizontal layout (steps-horizontal)
classstring-Additional CSS classes

Steps.Step Props#

PropTypeDefaultDescription
color'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error'-Step color
contentstring-Custom content in step circle (data-content attribute)
classstring-Additional CSS classes

Steps.Step Slots#

SlotDescription
defaultStep label text