import { Field, Input, Label } from "@headlessui/react";
const InputWithLblCode = () => {
return (
<>
<div className="mt-4">
<Field className="w-full mb-3">
<Label className="mb-2 block text-ld">Name</Label>
<Input
type="text"
className="ui-form-control rounded-full py-2.5 px-3 w-full"
name="full_name"
/>
</Field>
<Field className="w-full mb-3">
<Label className="mb-2 block text-ld">Email</Label>
<Input
type="email"
className="ui-form-control rounded-full py-2.5 px-3 w-full"
name="full_name"
/>
</Field>
<Field className="w-full ">
<Label className="mb-2 block text-ld">Password</Label>
<Input
type="password"
className="ui-form-control rounded-full py-2.5 px-3 w-full"
name="full_name"
/>
</Field>
</div>
</>
)
}
export default InputWithLblCode
import { Field, Input, Label } from "@headlessui/react";
const InputWithLblCode = () => {
return (
<div>
<Field className="w-full mb-3">
<Label className="mb-2 block text-ld">Name</Label>
<Input
type="text"
className="ui-form-control rounded-md py-2.5 px-3 w-full"
name="full_name"
/>
</Field>
<Field className="w-full mb-3">
<Label className="mb-2 block text-ld">Email</Label>
<Input
type="email"
className="ui-form-control rounded-md py-2.5 px-3 w-full"
name="full_name"
/>
</Field>
<Field className="w-full ">
<Label className="mb-2 block text-ld">Password</Label>
<Input
type="password"
className="ui-form-control rounded-md py-2.5 px-3 w-full"
name="full_name"
/>
</Field>
</div>
)
}
export default InputWithLblCode
Use your real name so people will recognize you.
Use your real Email so people will recognize you.
Use your real Password so people will recognize you.
import { Description, Field, Input, Label } from "@headlessui/react";
const InputWithDescriptionCode = () => {
return (
<>
<div className="mt-4">
<Field className="w-full mb-3">
<Label className="mb-1 block text-ld">Name</Label>
<Description className="text-bodytext text-xs">
Use your real name so people will recognize you.
</Description>
<Input
type="text"
className="ui-form-control rounded-md py-2.5 px-3 w-full mt-2"
name="full_name"
/>
</Field>
<Field className="w-full mb-3">
<Label className="mb-1 block text-ld">Email</Label>
<Description className="text-bodytext text-xs">
Use your real Email so people will recognize you.
</Description>
<Input
type="email"
className="ui-form-control rounded-md py-2.5 px-3 w-full mt-2"
name="full_name"
/>
</Field>
<Field className="w-full ">
<Label className="mb-1 block text-ld">Password</Label>
<Description className="text-bodytext text-xs">
Use your real Password so people will recognize you.
</Description>
<Input
type="password"
className="ui-form-control rounded-md py-2.5 px-3 w-full mt-2"
name="full_name"
/>
</Field>
</div>
</>
)
}
export default InputWithDescriptionCode
Use your real name so people will recognize you.
Use your real Email so people will recognize you.
Use your real Password so people will recognize you.