Files
shadcn-ui/apps/v4/examples/base/label-with-input.tsx
2026-01-14 09:25:14 +04:00

13 lines
349 B
TypeScript

import { Field } from "@/examples/base/ui/field"
import { Input } from "@/examples/base/ui/input"
import { Label } from "@/examples/base/ui/label"
export function LabelWithInput() {
return (
<Field>
<Label htmlFor="label-demo-username">Username</Label>
<Input id="label-demo-username" placeholder="Username" />
</Field>
)
}