1. framework components
  2. steps

Steps

Use steps to guide users through a multi-step process.

Warning

This feature is currently marked as beta and not intended for production use. It may receive breaking changes before its stable release.

First do this.

Controlled

Use the step and onStepChange props to control state programmatically.

First do this.

Orientation

Using the orientation prop to control the layout.

First do this.

Direction

Set the text direction (ltr or rtl) using the dir prop.

First do this.

Anatomy

Here’s an overview of how the Steps component is structured in code:

svelte
<script lang="ts">
	import { Steps } from '@skeletonlabs/skeleton-svelte';
</script>

<Steps>
	<Steps.List>
		<Steps.Item>
			<Steps.Trigger>
				<Steps.Indicator />
			</Steps.Trigger>
			<Steps.Separator />
		</Steps.Item>
	</Steps.List>
	<Steps.Content />
	<Steps.PrevTrigger />
	<Steps.NextTrigger />
</Steps>

API Reference

Unable to load component information for svelte/steps

View page on GitHub