snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
12
apps/v4/registry/new-york-v4/examples/input-with-text.tsx
Normal file
12
apps/v4/registry/new-york-v4/examples/input-with-text.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Input } from "@/registry/new-york-v4/ui/input"
|
||||
import { Label } from "@/registry/new-york-v4/ui/label"
|
||||
|
||||
export default function InputWithText() {
|
||||
return (
|
||||
<div className="grid w-full max-w-sm items-center gap-3">
|
||||
<Label htmlFor="email-2">Email</Label>
|
||||
<Input type="email" id="email-2" placeholder="Email" />
|
||||
<p className="text-sm text-muted-foreground">Enter your email address.</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user