snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
21
apps/v4/examples/radix/input-disabled.tsx
Normal file
21
apps/v4/examples/radix/input-disabled.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import {
|
||||
Field,
|
||||
FieldDescription,
|
||||
FieldLabel,
|
||||
} from "@/styles/radix-nova/ui/field"
|
||||
import { Input } from "@/styles/radix-nova/ui/input"
|
||||
|
||||
export function InputDisabled() {
|
||||
return (
|
||||
<Field data-disabled>
|
||||
<FieldLabel htmlFor="input-demo-disabled">Email</FieldLabel>
|
||||
<Input
|
||||
id="input-demo-disabled"
|
||||
type="email"
|
||||
placeholder="Email"
|
||||
disabled
|
||||
/>
|
||||
<FieldDescription>This field is currently disabled.</FieldDescription>
|
||||
</Field>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user