Steps
# FxSteps
A step navigation bar that guides users through task completion processes. The number of steps must be at least 2, and can be configured based on actual application scenarios.
# Steps Attributes
| Parameter | Description | Type | Options | Default |
|---|---|---|---|---|
| space | Spacing between steps, auto-adaptive if not specified. Supports percentage values. | number / string | — | — |
| direction | Display direction | string | vertical/horizontal | horizontal |
| active | Current active step | number | — | 0 |
| process-status | Status of current step | string | wait / process / finish / error / success | process |
| finish-status | Status of finished steps | string | wait / process / finish / error / success | finish |
| align-center | Center alignment | boolean | — | false |
| simple | Whether to apply simplified style | boolean | — | false |
# Step Attributes
| Parameter | Description | Type | Options | Default |
|---|---|---|---|---|
| title | Step title | string | — | — |
| description | Descriptive text | string | — | — |
| icon | Icon class name for custom icons, also supports slot usage | string | — | — |
| status | Step status (overrides steps setting if specified) | string | wait / process / finish / error / success | — |
# Step Slot
| name | Description |
|---|---|
| icon | Custom icon |
| title | Custom title |
| description | Custom description |
# Basic Usage
Simple step bar.
Copy
# Steps with Status
Display status for each step.
Copy
# Steps with Description
Each step has corresponding descriptive text.
Copy
# Centered Steps
Both titles and descriptions will be centered.
Copy
# Steps with Icons
Custom icons can be used in steps.
Copy
# Vertical Steps
Vertical step bar.
Copy
# Simplified Steps
Set simple to apply simplified style. In this mode, align-center / description / direction / space properties will be disabled.
Copy