snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
22
apps/v4/examples/radix/input-field.tsx
Normal file
22
apps/v4/examples/radix/input-field.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import {
|
||||
Field,
|
||||
FieldDescription,
|
||||
FieldLabel,
|
||||
} from "@/styles/radix-nova/ui/field"
|
||||
import { Input } from "@/styles/radix-nova/ui/input"
|
||||
|
||||
export function InputField() {
|
||||
return (
|
||||
<Field>
|
||||
<FieldLabel htmlFor="input-field-username">Username</FieldLabel>
|
||||
<Input
|
||||
id="input-field-username"
|
||||
type="text"
|
||||
placeholder="Enter your username"
|
||||
/>
|
||||
<FieldDescription>
|
||||
Choose a unique username for your account.
|
||||
</FieldDescription>
|
||||
</Field>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user