mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
Squash merge of shadcn-ui/ui main branch into hanzo/ui, bringing in: - [email protected] through [email protected] releases - New apps/v4 directory structure - Registry system improvements and MCP server - Framework support (Vue, Svelte, React Native) - New templates (vite-app, monorepo-next, laravel) - Zod 4 compatibility (scoped override for zod@>4) - Test fixture corrections for alias resolution All 867 merge conflicts resolved preserving Hanzo customizations. 1020/1020 shadcn tests pass.
24 lines
942 B
TypeScript
24 lines
942 B
TypeScript
import { Input } from "@/registry/new-york-v4/ui/input"
|
|
|
|
export function InputDemo() {
|
|
return (
|
|
<div className="flex flex-col flex-wrap gap-4 md:flex-row">
|
|
<Input type="email" placeholder="Email" />
|
|
<Input type="text" placeholder="Error" aria-invalid="true" />
|
|
<Input type="password" placeholder="Password" />
|
|
<Input type="number" placeholder="Number" />
|
|
<Input type="file" placeholder="File" />
|
|
<Input type="tel" placeholder="Tel" />
|
|
<Input type="text" placeholder="Text" />
|
|
<Input type="url" placeholder="URL" />
|
|
<Input type="search" placeholder="Search" />
|
|
<Input type="date" placeholder="Date" />
|
|
<Input type="datetime-local" placeholder="Datetime Local" />
|
|
<Input type="month" placeholder="Month" />
|
|
<Input type="time" placeholder="Time" />
|
|
<Input type="week" placeholder="Week" />
|
|
<Input disabled placeholder="Disabled" />
|
|
</div>
|
|
)
|
|
}
|