mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-28 07:04:20 +00:00
37 lines
960 B
TypeScript
37 lines
960 B
TypeScript
import { Button } from "@/styles/base-nova/ui/button"
|
|
import {
|
|
Field,
|
|
FieldDescription,
|
|
FieldGroup,
|
|
FieldLabel,
|
|
} from "@/styles/base-nova/ui/field"
|
|
import { Input } from "@/styles/base-nova/ui/input"
|
|
|
|
export function InputFieldgroup() {
|
|
return (
|
|
<FieldGroup>
|
|
<Field>
|
|
<FieldLabel htmlFor="fieldgroup-name">Name</FieldLabel>
|
|
<Input id="fieldgroup-name" placeholder="Jordan Lee" />
|
|
</Field>
|
|
<Field>
|
|
<FieldLabel htmlFor="fieldgroup-email">Email</FieldLabel>
|
|
<Input
|
|
id="fieldgroup-email"
|
|
type="email"
|
|
placeholder="name@example.com"
|
|
/>
|
|
<FieldDescription>
|
|
We'll send updates to this address.
|
|
</FieldDescription>
|
|
</Field>
|
|
<Field orientation="horizontal">
|
|
<Button type="reset" variant="outline">
|
|
Reset
|
|
</Button>
|
|
<Button type="submit">Submit</Button>
|
|
</Field>
|
|
</FieldGroup>
|
|
)
|
|
}
|