snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
28
apps/v4/examples/radix/field-textarea.tsx
Normal file
28
apps/v4/examples/radix/field-textarea.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import {
|
||||
Field,
|
||||
FieldDescription,
|
||||
FieldGroup,
|
||||
FieldLabel,
|
||||
FieldSet,
|
||||
} from "@/styles/radix-nova/ui/field"
|
||||
import { Textarea } from "@/styles/radix-nova/ui/textarea"
|
||||
|
||||
export default function FieldTextarea() {
|
||||
return (
|
||||
<FieldSet className="w-full max-w-xs">
|
||||
<FieldGroup>
|
||||
<Field>
|
||||
<FieldLabel htmlFor="feedback">Feedback</FieldLabel>
|
||||
<Textarea
|
||||
id="feedback"
|
||||
placeholder="Your feedback helps us improve..."
|
||||
rows={4}
|
||||
/>
|
||||
<FieldDescription>
|
||||
Share your thoughts about our service.
|
||||
</FieldDescription>
|
||||
</Field>
|
||||
</FieldGroup>
|
||||
</FieldSet>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user