snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
17
apps/v4/examples/base/input-grid.tsx
Normal file
17
apps/v4/examples/base/input-grid.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Field, FieldGroup, FieldLabel } from "@/styles/base-nova/ui/field"
|
||||
import { Input } from "@/styles/base-nova/ui/input"
|
||||
|
||||
export function InputGrid() {
|
||||
return (
|
||||
<FieldGroup className="grid max-w-sm grid-cols-2">
|
||||
<Field>
|
||||
<FieldLabel htmlFor="first-name">First Name</FieldLabel>
|
||||
<Input id="first-name" placeholder="Jordan" />
|
||||
</Field>
|
||||
<Field>
|
||||
<FieldLabel htmlFor="last-name">Last Name</FieldLabel>
|
||||
<Input id="last-name" placeholder="Lee" />
|
||||
</Field>
|
||||
</FieldGroup>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user