snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
18
apps/v4/examples/radix/input-demo.tsx
Normal file
18
apps/v4/examples/radix/input-demo.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import {
|
||||
Field,
|
||||
FieldDescription,
|
||||
FieldLabel,
|
||||
} from "@/styles/radix-nova/ui/field"
|
||||
import { Input } from "@/styles/radix-nova/ui/input"
|
||||
|
||||
export function InputDemo() {
|
||||
return (
|
||||
<Field>
|
||||
<FieldLabel htmlFor="input-demo-api-key">API Key</FieldLabel>
|
||||
<Input id="input-demo-api-key" type="password" placeholder="sk-..." />
|
||||
<FieldDescription>
|
||||
Your API key is encrypted and stored securely.
|
||||
</FieldDescription>
|
||||
</Field>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user