Input
Installation
npx shadcn@latest add https://ui.timkit.cn/r/input.json
Usage
import { Input } from "@/components/ui/input"
Examples
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Calendar Date Picker · Date picker
Loading preview...
Calendar Date Picker · Date range picker
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · Disabled state
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Structured API
Component
input
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. |
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| type | string | text | The type of input element. |
| placeholder | string | - | The placeholder text. |
| disabled | boolean | false | Whether the input is disabled. |
| value | string | - | The controlled value. |
Events
| Prop | Type | Default | Description |
|---|---|---|---|
| onValueChange | event | - | Callback called when value changes. |
Slots
| Prop | Type | Default | Description |
|---|---|---|---|
| default | slot | - | Default slot content rendered inside the component root. |
Parts
| Prop | Type | Default | Description |
|---|---|---|---|
| root* | root | - | The input element itself |
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
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Calendar Date Picker · Date picker
- Calendar Date Picker · Date range picker
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · Disabled state
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- API Reference
Input
Installation
npx shadcn@latest add https://ui.timkit.cn/r/input.json
Usage
import { Input } from "@/components/ui/input"
Examples
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Calendar Date Picker · Date picker
Loading preview...
Calendar Date Picker · Date range picker
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · Disabled state
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Input · With label
Loading preview...
Structured API
Component
input
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. |
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| type | string | text | The type of input element. |
| placeholder | string | - | The placeholder text. |
| disabled | boolean | false | Whether the input is disabled. |
| value | string | - | The controlled value. |
Events
| Prop | Type | Default | Description |
|---|---|---|---|
| onValueChange | event | - | Callback called when value changes. |
Slots
| Prop | Type | Default | Description |
|---|---|---|---|
| default | slot | - | Default slot content rendered inside the component root. |
Parts
| Prop | Type | Default | Description |
|---|---|---|---|
| root* | root | - | The input element itself |
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
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Calendar Date Picker · Date picker
- Calendar Date Picker · Date range picker
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · Disabled state
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- Input · With label
- API Reference