mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-02-09 02:49:29 +08:00
13 lines
400 B
TypeScript
13 lines
400 B
TypeScript
import { Input } from "@/components/ui/input"
|
|
import { Label } from "@/components/ui/label"
|
|
|
|
export function InputWithText() {
|
|
return (
|
|
<div className="grid w-full max-w-sm items-center gap-1.5">
|
|
<Label htmlFor="email-2">Email</Label>
|
|
<Input type="email" id="email-2" placeholder="Email" />
|
|
<p className="text-sm text-slate-500">Enter your email address.</p>
|
|
</div>
|
|
)
|
|
}
|