Sépale
Components Docs Theme generator Prefix About GitHub npm
  • Family
  • Family
  • Theme

  • Guide
  • Getting started
  • Families and themes
  • Components and classes
  • Svelte components
  • Motion
  • Your own styles
  • Class prefix
  • Family
  • Description
  • Theme generator
  • Components
  • All components
    • Button
    • Link
    • Join
    • Input
    • Textarea
    • Select
    • Combobox
    • Number input
    • Date picker
    • Calendar
    • Color picker
    • File input
    • File dropzone
    • Checkbox
    • Radio
    • Toggle
    • Switch
    • Range
    • Rating
    • Chips input
    • Editable
    • Label
    • Floating label
    • Fieldset
    • Validator
    • Text
    • Avatar
    • Badge
    • Chip
    • Swatch
    • Bubble
    • Card
    • Stat
    • Carousel
    • Alert
    • Toast
    • Loading
    • Progress
    • Radial progress
    • Skeleton
    • Empty state
    • Data handler
    • Data control
    • Table
    • Grid
    • List
    • Kanban
    • File explorer
    • Menu
    • Tabs
    • Breadcrumbs
    • Steps
    • Pagination
    • Dock
    • Navbar
    • Sidebar
    • Drawer
    • Footer
    • Hero
    • Divider
    • Collapse
    • Accordion
    • Dialog
    • Dropdown
    • Tooltip
    • Mobile frame
    • Window frame
    • Laptop frame

Steps

Where the user is in a journey: one column per step, one bar per sub-step. Four states — current, visited, complete (declared by the app), unknown — and errors or warnings once a step is reached. It moves nothing: clicks go to onstep.

ClassEffectType
.steps
The journey. Horizontal unless vertical. root
.steps-horizontal.steps-vertical
Sets direction, one class per value. axis direction
.steps-primary.steps-neutral.steps-info.steps-success.steps-warning.steps-error
Sets color, one class per value. axis color
.steps-xs.steps-sm.steps-md.steps-lg.steps-xl
Sets size, one class per value. axis size
.steps-compact
Written by the compact prop. flag
.steps-heading
The line above the bars in compact mode. part
.steps-issue
The warning or error icon. part
.steps-item
One step; its data-state is current, visited, complete or unknown. part
.steps-label
The step's label, and its issue icon. part
.steps-list
The steps, in order. part
.steps-marker
The disc at the start of a step; a check once complete. part
.steps-segment
One bar per sub-step; data-state and data-issue paint it. part
.steps-sublabel
The current sub-step, under the current step. part
.steps-track
The marker and the bars of a step. part