First do this.
Then do that.
Almost done...
All done!
First do this.
Then do that.
Almost done...
All done!
Controlled
Use the step and onStepChange props to control state programmatically.
First do this.
Then do that.
Almost done...
All done!
First do this.
Then do that.
Almost done...
All done!
Orientation
Using the orientation prop to control the layout.
First do this.
Then do that.
Almost done...
All done!
First do this.
Then do that.
Almost done...
All done!
Direction
Set the text direction (ltr or rtl) using the dir prop.
First do this.
Then do that.
Almost done...
All done!
First do this.
Then do that.
Almost done...
All done!
Anatomy
Here’s an overview of how the Steps component is structured in code:
import { Steps } from '@skeletonlabs/skeleton-react';
export default function Anatomy() {
return (
<Steps>
<Steps.List>
<Steps.Item>
<Steps.Trigger>
<Steps.Indicator />
</Steps.Trigger>
<Steps.Separator />
</Steps.Item>
</Steps.List>
<Steps.Content />
<Steps.PrevTrigger />
<Steps.NextTrigger />
</Steps>
);
}<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 react/steps
Unable to load component information for svelte/steps