BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ondo-ui/stepper
This component no longer exists. It was in ondo-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

stepper

ondo-ui/stepper
RemovedComponent

A step-by-step process for users to navigate through a series of steps.

Install it

npx shadcn@latest add https://ui.ondo.dou.so/r/stepper.json

Source

components/ui/stepper.tsxui.ondo.dou.so/r/stepper.json · first 6 KB
1"use client"
2
3import type { HTMLAttributes } from "react"
4import {
5 createContext,
6 useCallback,
7 useContext,
8 useEffect,
9 useId,
10 useMemo,
11 useRef,
12 useState,
13} from "react"
14import { mergeProps } from "@base-ui/react/merge-props"
15import { useRender } from "@base-ui/react/use-render"
16import { cva } from "class-variance-authority"
17
18import { cn } from "@/lib/utils"
19
20type StepperOrientation = "horizontal" | "vertical"
21type StepState = "active" | "completed" | "inactive"
22type StepperVariant = "default" | "info" | "success" | "warning" | "destructive"
23
24type StepIndicators = {
25 active?: React.ReactNode
26 completed?: React.ReactNode
27 inactive?: React.ReactNode
28 loading?: React.ReactNode
29}
30
31interface StepperContextValue {
32 activeStep: number
33 setActiveStep: (step: number) => void
34 orientation: StepperOrientation
35 variant: StepperVariant
36 activeVariant: StepperVariant
37 indicators: StepIndicators
38 baseId: string
39 registerTrigger: (node: HTMLButtonElement) => () => void
40 focusNext: (node: HTMLButtonElement) => void
41 focusPrev: (node: HTMLButtonElement) => void
42 focusFirst: () => void
43 focusLast: () => void
44}
45
46interface StepItemContextValue {
47 step: number
48 state: StepState
49 isDisabled: boolean
50 isLoading: boolean
51}
52
53const StepperContext = createContext<StepperContextValue | undefined>(undefined)
54const StepItemContext = createContext<StepItemContextValue | undefined>(
55 undefined
56)
57
58function useStepper() {
59 const context = useContext(StepperContext)
60
61 if (!context) {
62 throw new Error("useStepper must be used within a Stepper")
63 }
64
65 return context
66}
67
68function useStepItem() {
69 const context = useContext(StepItemContext)
70
71 if (!context) {
72 throw new Error("useStepItem must be used within a StepperItem")
73 }
74
75 return context
76}
77
78interface StepperProps extends HTMLAttributes<HTMLDivElement> {
79 defaultValue?: number
80 value?: number
81 onValueChange?: (value: number) => void
82 orientation?: StepperOrientation
83 variant?: StepperVariant
84 activeVariant?: StepperVariant
85 indicators?: StepIndicators
86}
87
88const stepperIndicatorVariants = cva(
89 "relative flex size-6 shrink-0 items-center justify-center overflow-hidden rounded-full border-background bg-accent text-xs text-accent-foreground data-[state=inactive]:text-muted-foreground",
90 {
91 variants: {
92 variant: {
93 default:
94 "data-[state=completed]:border-primary data-[state=completed]:bg-primary data-[state=completed]:text-primary-foreground",
95// … truncated

What it pulls in

npm packages

  • @base-ui/react

Other registry items

  • @ondo-ui/utils

Files it writes

  • components/ui/stepper.tsx

Facts

Registry
ondo-ui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-04
Last confirmed
9 days ago

Go to the source

ui.ondo.dou.so douinc/ondo-ui on GitHub Raw registry item This item as JSON

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex