Stepper
more-shadcn-noair/stepperFreeComponent
A visual indicator for multi-step processes.
Live preview
live · rendered by the registry
Rendered by more-shadcn-noair on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://more-shadcn.noair.fun/r/stepper.jsonSource
1<script lang="ts">2 import { cn } from '$UTILS$';3 import { setStepperContext } from './ctx';4 import type { Snippet } from 'svelte';56 let {7 value = $bindable(0),8 orientation = 'horizontal',9 class: className,10 children11 }: {12 value: number;13 orientation?: 'horizontal' | 'vertical';14 class?: string;15 children: Snippet;16 } = $props();1718 setStepperContext({19 activeStep: () => value,20 setStep: (s: number) => {21 value = s;22 },23 orientation: () => orientation24 });25</script>2627<div28 class={cn(29 'flex w-full gap-4',30 orientation === 'vertical' ? 'flex-col' : 'flex-row items-start justify-between',31 className32 )}33>34 {@render children()}35</div>
What it pulls in
Other registry items
More from more-shadcn-noair
All 43 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Audioaudio | more-shadcn-noair | Components | Free | no deps | |
| Audio Waveaudio-wave | more-shadcn-noair | Components | Free | no deps | |
| Autocompleteautocomplete | more-shadcn-noair | Components | Free | no deps | |
| Bannerbanner | more-shadcn-noair | Components | Free | no deps | |
| Big Calendarbig-calendar | more-shadcn-noair | Components | Free | no deps | |
| Bottom Navigationbottom-nav | more-shadcn-noair | Components | Free | no deps | |
| Canvascanvas | more-shadcn-noair | Components | Free | no deps | |
| Chipchip | more-shadcn-noair | Components | Free | no deps |
