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
PropTypeDefaultDescription
logic.provider*
enum (zag | native | none)
noneState and interaction provider used by this component.
logic.machine
string
-Underlying 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/coreRuntime 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
PropTypeDefaultDescription
type
string
textThe type of input element.
placeholder
string
-The placeholder text.
disabled
boolean
falseWhether the input is disabled.
value
string
-The controlled value.
Events
PropTypeDefaultDescription
onValueChange
event
-Callback called when value changes.
Slots
PropTypeDefaultDescription
default
slot
-Default slot content rendered inside the component root.
Parts
PropTypeDefaultDescription
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.

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
PropTypeDefaultDescription
logic.provider*
enum (zag | native | none)
noneState and interaction provider used by this component.
logic.machine
string
-Underlying 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/coreRuntime 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
PropTypeDefaultDescription
type
string
textThe type of input element.
placeholder
string
-The placeholder text.
disabled
boolean
falseWhether the input is disabled.
value
string
-The controlled value.
Events
PropTypeDefaultDescription
onValueChange
event
-Callback called when value changes.
Slots
PropTypeDefaultDescription
default
slot
-Default slot content rendered inside the component root.
Parts
PropTypeDefaultDescription
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.