Stepper
Navigation
stable
Visual progress indicator that guides the user through a numbered sequence of steps, supporting horizontal and vertical orientations.
API
Props
Toutes les props acceptées par ce composant, avec leur type, valeur par défaut et description.
- itemsIStepperItem[]
- Array of step descriptors. Each item has title, optional subtitle, icon and status.
- modelValuenumber0
- Index (0-based) of the currently active step. Bind with v-model.
- orientation'horizontal' | 'vertical''horizontal'
- Layout direction of the step indicators.
- clickablebooleanfalse
- When true, clicking a step indicator navigates to that step.
- showConnectorsbooleantrue
- Shows a connecting line between step indicators.
- idstring
- classstring | Array<string> | object
- stylestring | Array<string> | object | StyleValue
- colorTColor
- Active-step accent color. Accepts semantic intents or a CSS color.
- bgColorTColor
- sizeTSize | number'default'
- Controls the indicator circle size and font sizes.
- densityTDensity'default'
- Adjusts block padding between the stepper wrapper and its items.
- heightnumber | string
- Overrides the stepper container height.
- maxHeightnumber | string
- maxWidthnumber | string
- minHeightnumber | string
- minWidthnumber | string
- widthnumber | string
- Overrides the stepper container width.
- elevationTElevation
- Box-shadow elevation token for the stepper container.
- marginboolean | number | string
- marginTopboolean | number | string
- marginLeftboolean | number | string
- marginBottomboolean | number | string
- marginRightboolean | number | string
- marginBlockboolean | number | string
- marginInlineboolean | number | string
- marginInlineStartboolean | number | string
- marginInlineEndboolean | number | string
- marginBlockStartboolean | number | string
- marginBlockEndboolean | number | string
- paddingboolean | number | string
- paddingTopboolean | number | string
- paddingLeftboolean | number | string
- paddingBottomboolean | number | string
- paddingRightboolean | number | string
- paddingBlockboolean | number | string
- paddingInlineboolean | number | string
- paddingInlineStartboolean | number | string
- paddingInlineEndboolean | number | string
- paddingBlockStartboolean | number | string
- paddingBlockEndboolean | number | string
- roundedboolean | number | string | TRounded | null | undefined
- Border-radius token for the stepper container.
- roundedTopRightboolean | number | string
- roundedTopLeftboolean | number | string
- roundedBottomLeftboolean | number | string
- roundedBottomRightboolean | number | string
- roundedStartStartboolean | number | string
- roundedStartEndboolean | number | string
- roundedEndStartboolean | number | string
- roundedEndEndboolean | number | string
- borderboolean | number | string | TDirectionBoth | Array<TDirectionBoth>false
- Applies a border to the stepper container.
- borderTopboolean | number | string
- borderLeftboolean | number | string
- borderBottomboolean | number | string
- borderRightboolean | number | string
- borderBlockboolean | number | string
- borderInlineboolean | number | string
- borderInlineStartboolean | number | string
- borderInlineEndboolean | number | string
- borderBlockStartboolean | number | string
- borderBlockEndboolean | number | string
- borderColorstring
- borderStylestring
- borderTopColorTColor
- borderRightColorTColor
- borderBottomColorTColor
- borderLeftColorTColor
- borderInlineStartColorTColor
- borderInlineEndColorTColor
- borderBlockStartColorTColor
- borderBlockEndColorTColor
API
Slots
Emplacements de contenu exposés par ce composant.
- #default
- Custom step items. When provided, the items prop is ignored.
API
Emits
Événements émis par ce composant.
- @update:modelValuenumber
- Fired when the active step changes. Bind with v-model.
Interactif
Playground
Modifiez les props en direct et observez le composant se mettre à jour. Le snippet de code généré suit vos changements.
Rendu de l’aperçu en cours…
Usage
Exemples
Extraits de code prêts à coller dans vos templates.
Basic stepper
Vertical orientation
Clickable steps
Écosystème
Famille
Composants du même dossier qui partagent les conventions et se composent souvent ensemble.