Steps
Display progress through a multi-step process with numbered or custom-content step indicators.
Import
import { Steps, Card, Row, Button } from '@sigx/daisyui';
Basic Usage
Loading preview...
Colors
Each step can have a different color to indicate status.
Loading preview...
Custom Content (data-content)
Use the content prop to display custom symbols in the step circle.
Loading preview...
Vertical Steps
Loading preview...
Responsive (Vertical on Mobile, Horizontal on Large Screens)
Use vertical with a responsive class override to switch layout at breakpoints.
Loading preview...
Mixed Colors
Combine different colors to show progress status.
Loading preview...
Scrollable Horizontal Steps
Wrap with overflow utility for many steps.
Loading preview...
Props
Steps Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | StepItem[] | - | Step items (alternative to compound pattern) |
model | Signal<string> | - | Current step ID (for items mode) |
vertical | boolean | false | Vertical layout (steps-vertical) |
horizontal | boolean | false | Horizontal layout (steps-horizontal) |
class | string | - | Additional CSS classes |
Steps.Step Props
| Prop | Type | Default | Description |
|---|---|---|---|
color | 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | - | Step color |
content | string | - | Custom content in step circle (data-content attribute) |
class | string | - | Additional CSS classes |
Steps.Step Slots
| Slot | Description |
|---|---|
default | Step label text |