mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-11 09:51:40 +00:00
12 lines
323 B
TypeScript
12 lines
323 B
TypeScript
import { Input } from "@/components/ui/input"
|
|
import { Label } from "@/components/ui/label"
|
|
|
|
export function InputWithLabel() {
|
|
return (
|
|
<div className="grid w-full max-w-sm items-center gap-1.5">
|
|
<Label htmlFor="email">Email</Label>
|
|
<Input type="email" id="email" placeholder="Email" />
|
|
</div>
|
|
)
|
|
}
|