Calendar
Installation
npx shadcn@latest add https://ui.timkit.cn/r/calendar.json
Usage
import { Calendar } from "@/components/ui/calendar"
Examples
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Enter date
Loading preview...
Calendar Date Picker · Enter time
Loading preview...
Calendar Date Picker · Dismissible
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Structured API
Component
calendar
Logic
zag / date-picker
Runtime Frameworks
ReactVueWeappHTML
Supported Platforms
Web
Configuration
| Prop | Type | Default | Description |
|---|---|---|---|
| logic.provider* | enum (zag | native | none) | zag | State and interaction provider used by this component. |
| logic.machine | string | date-picker | Underlying state machine identifier when provider is zag. |
| platforms* | array | Web | Platforms officially supported by this schema. |
| frameworks* | array | React, Vue, Weapp, HTML | Framework demos/code currently available in registry files. |
| dependencies | array | @timui/core, @zag-js/react | Runtime package dependencies required by this registry item. |
| optionalPeerDependencies | array | @internationalized/date | Optional peer dependencies used by this registry item. |
| registryDependencies | array | button | Dependent Timkit registry components/hook entries. |
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| mode | enum (single | range | multiple) | single | The selection mode. |
Slots
| Prop | Type | Default | Description |
|---|---|---|---|
| default | slot | - | Default slot content rendered inside the component root. |
Parts
| Prop | Type | Default | Description |
|---|---|---|---|
| root* | root | - | The calendar container |
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.
On This Page
- Installation
- Usage
- Examples
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Enter date
- Calendar Date Picker · Enter time
- Calendar Date Picker · Dismissible
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Disabled State
- API Reference
Calendar
Installation
npx shadcn@latest add https://ui.timkit.cn/r/calendar.json
Usage
import { Calendar } from "@/components/ui/calendar"
Examples
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Enter date
Loading preview...
Calendar Date Picker · Enter time
Loading preview...
Calendar Date Picker · Dismissible
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Interactive State
Loading preview...
Calendar Date Picker · Disabled State
Loading preview...
Structured API
Component
calendar
Logic
zag / date-picker
Runtime Frameworks
ReactVueWeappHTML
Supported Platforms
Web
Configuration
| Prop | Type | Default | Description |
|---|---|---|---|
| logic.provider* | enum (zag | native | none) | zag | State and interaction provider used by this component. |
| logic.machine | string | date-picker | Underlying state machine identifier when provider is zag. |
| platforms* | array | Web | Platforms officially supported by this schema. |
| frameworks* | array | React, Vue, Weapp, HTML | Framework demos/code currently available in registry files. |
| dependencies | array | @timui/core, @zag-js/react | Runtime package dependencies required by this registry item. |
| optionalPeerDependencies | array | @internationalized/date | Optional peer dependencies used by this registry item. |
| registryDependencies | array | button | Dependent Timkit registry components/hook entries. |
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| mode | enum (single | range | multiple) | single | The selection mode. |
Slots
| Prop | Type | Default | Description |
|---|---|---|---|
| default | slot | - | Default slot content rendered inside the component root. |
Parts
| Prop | Type | Default | Description |
|---|---|---|---|
| root* | root | - | The calendar container |
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.
On This Page
- Installation
- Usage
- Examples
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Enter date
- Calendar Date Picker · Enter time
- Calendar Date Picker · Dismissible
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Disabled State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Interactive State
- Calendar Date Picker · Disabled State
- API Reference