Breadcrumb
Installation
npx shadcn@latest add https://ui.timkit.cn/r/breadcrumb.json
Usage
import { Breadcrumb } from "@/components/ui/breadcrumb"
Examples
Structured API
Component
breadcrumb
Logic
none
Runtime Frameworks
ReactVueWeappHTML
Supported Platforms
WebWeChat Mini Program
Configuration
| Prop | Type | Default | Description |
|---|---|---|---|
| logic.provider* | enum (zag | native | none) | none | State and interaction provider used by this component. |
| logic.machine | string | - | Underlying state machine identifier when provider is zag. |
| platforms* | array | Web, WeChat Mini Program | Platforms officially supported by this schema. |
| frameworks* | array | React, Vue, Weapp, HTML | Framework demos/code currently available in registry files. |
| dependencies | array | @timui/core | Runtime package dependencies required by this registry item. |
| optionalPeerDependencies | array | - | Optional peer dependencies used by this registry item. |
| registryDependencies | array | - | Dependent Timkit registry components/hook entries. |
Slots
| Prop | Type | Default | Description |
|---|---|---|---|
| default | slot | - | The breadcrumb items |
Parts
| Prop | Type | Default | Description |
|---|---|---|---|
| root* | root | - | The breadcrumb container |
| list | part | - | The list of items |
| item | part | - | A single item |
| link | part | - | A link item |
| page | part | - | The current page item |
| separator | part | - | The separator between items |
| ellipsis | part | - | The ellipsis item |
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.
Breadcrumb
Installation
npx shadcn@latest add https://ui.timkit.cn/r/breadcrumb.json
Usage
import { Breadcrumb } from "@/components/ui/breadcrumb"
Examples
Structured API
Component
breadcrumb
Logic
none
Runtime Frameworks
ReactVueWeappHTML
Supported Platforms
WebWeChat Mini Program
Configuration
| Prop | Type | Default | Description |
|---|---|---|---|
| logic.provider* | enum (zag | native | none) | none | State and interaction provider used by this component. |
| logic.machine | string | - | Underlying state machine identifier when provider is zag. |
| platforms* | array | Web, WeChat Mini Program | Platforms officially supported by this schema. |
| frameworks* | array | React, Vue, Weapp, HTML | Framework demos/code currently available in registry files. |
| dependencies | array | @timui/core | Runtime package dependencies required by this registry item. |
| optionalPeerDependencies | array | - | Optional peer dependencies used by this registry item. |
| registryDependencies | array | - | Dependent Timkit registry components/hook entries. |
Slots
| Prop | Type | Default | Description |
|---|---|---|---|
| default | slot | - | The breadcrumb items |
Parts
| Prop | Type | Default | Description |
|---|---|---|---|
| root* | root | - | The breadcrumb container |
| list | part | - | The list of items |
| item | part | - | A single item |
| link | part | - | A link item |
| page | part | - | The current page item |
| separator | part | - | The separator between items |
| ellipsis | part | - | The ellipsis item |
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.