mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-30 08:04:18 +00:00
13 lines
349 B
TypeScript
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>
|
|
)
|
|
}
|