Stepper

Installation

npx shadcn@latest add https://ui.timkit.cn/r/stepper.json

Usage

import { Stepper } from "@/components/ui/stepper"

Examples

Stepper · Numeric indicators
Loading preview...
Stepper · Dot indicators
Loading preview...
Stepper · Interactive State
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · Dot indicators
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · With step titles
Loading preview...

Structured API

Component

stepper

Logic

zag / number-input

Runtime Frameworks

ReactVueWeappHTML

Supported Platforms

WebWeChat Mini Program
Configuration
PropTypeDefaultDescription
logic.provider*
enum (zag | native | none)
zagState and interaction provider used by this component.
logic.machine
string
number-inputUnderlying state machine identifier when provider is zag.
platforms*
array
Web, WeChat Mini ProgramPlatforms officially supported by this schema.
frameworks*
array
React, Vue, Weapp, HTMLFramework demos/code currently available in registry files.
dependencies
array
@timui/core, @zag-js/core, @zag-js/number-input, @zag-js/reactRuntime package dependencies required by this registry item.
optionalPeerDependencies
array
lucide-reactOptional peer dependencies used by this registry item.
registryDependencies
array
-Dependent Timkit registry components/hook entries.
Props
PropTypeDefaultDescription
value
number
-The active step index.
defaultValue
number
0The initial active step index.
orientation
enum (horizontal | vertical)
horizontalThe orientation of the stepper.
Events
PropTypeDefaultDescription
onValueChange
event
-Event handler called when active step changes.
Slots
PropTypeDefaultDescription
default
slot
-The stepper items
Parts
PropTypeDefaultDescription
root*
root
-The stepper container
item
part
-A single step
trigger
part
-The step selector
indicator
part
-The step number/icon
separator
part
-The line between steps
title
part
-The step title
description
part
-The step description
This API reference is generated from `/packages/core` component schemas to keep React/Vue/Weapp docs consistent.

Extended notes are not available for this component yet.

Stepper

Installation

npx shadcn@latest add https://ui.timkit.cn/r/stepper.json

Usage

import { Stepper } from "@/components/ui/stepper"

Examples

Stepper · Numeric indicators
Loading preview...
Stepper · Dot indicators
Loading preview...
Stepper · Interactive State
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · Dot indicators
Loading preview...
Stepper · Numeric indicators
Loading preview...
Stepper · With step titles
Loading preview...
Stepper · With step titles
Loading preview...

Structured API

Component

stepper

Logic

zag / number-input

Runtime Frameworks

ReactVueWeappHTML

Supported Platforms

WebWeChat Mini Program
Configuration
PropTypeDefaultDescription
logic.provider*
enum (zag | native | none)
zagState and interaction provider used by this component.
logic.machine
string
number-inputUnderlying state machine identifier when provider is zag.
platforms*
array
Web, WeChat Mini ProgramPlatforms officially supported by this schema.
frameworks*
array
React, Vue, Weapp, HTMLFramework demos/code currently available in registry files.
dependencies
array
@timui/core, @zag-js/core, @zag-js/number-input, @zag-js/reactRuntime package dependencies required by this registry item.
optionalPeerDependencies
array
lucide-reactOptional peer dependencies used by this registry item.
registryDependencies
array
-Dependent Timkit registry components/hook entries.
Props
PropTypeDefaultDescription
value
number
-The active step index.
defaultValue
number
0The initial active step index.
orientation
enum (horizontal | vertical)
horizontalThe orientation of the stepper.
Events
PropTypeDefaultDescription
onValueChange
event
-Event handler called when active step changes.
Slots
PropTypeDefaultDescription
default
slot
-The stepper items
Parts
PropTypeDefaultDescription
root*
root
-The stepper container
item
part
-A single step
trigger
part
-The step selector
indicator
part
-The step number/icon
separator
part
-The line between steps
title
part
-The step title
description
part
-The step description
This API reference is generated from `/packages/core` component schemas to keep React/Vue/Weapp docs consistent.

Extended notes are not available for this component yet.