logo-icon
STW UI

Steps

Steps can be used to show a list of steps in a process.

Usage

svelte
import { Steps } from 'stwui';
// OR
import Steps from 'stwui/steps'; // for tree shaking

Simple

Bullets

Bullets & Text

Circles & Text

Steps Props

variant 'simple' | 'bullets' | 'bullets-text' | 'circles-text' info
currentStep number

Steps Slots

summary <Steps.Summary slot="summary" />
default <Steps.Step />

Steps.Step Props

href string
step number

Steps.Step Slots

title <Steps.Step.Title slot="title" />
description <Steps.Step.Description slot="description" />

Steps.Step.Title Slots

default

Steps.Step.Description Slots

default

Steps Class Identifiers

stwui-steps-simple-wrapper
stwui-steps-bullets-wrapper
stwui-steps-bullets-text-wrapper
stwui-steps-circles-text-wrapper
stwui-steps-step-bullet-previous
stwui-steps-step-bullet-current
stwui-steps-step-bullet-next
stwui-steps-step-simple-previous
stwui-steps-step-simple-current
stwui-steps-step-simple-next
stwui-steps-summary
stwui-steps-step-bullets-title-previous
stwui-steps-step-bullets-title-current
stwui-steps-step-bullets-title-next
stwui-steps-step-simple-title-previous
stwui-steps-step-simple-title-current
stwui-steps-step-simple-title-next
stwui-steps-step-circles-title-previous
stwui-steps-step-circles-title-current
stwui-steps-step-circles-title-next
stwui-steps-step-circle-description
stwui-steps-step-simple-description
stwui-steps-step-simple-previous-description