mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-07 14:08:47 +00:00
29 lines
677 B
TypeScript
29 lines
677 B
TypeScript
import {
|
|
Field,
|
|
FieldDescription,
|
|
FieldGroup,
|
|
FieldLabel,
|
|
FieldSet,
|
|
} from "@/styles/base-nova/ui/field"
|
|
import { Textarea } from "@/styles/base-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>
|
|
)
|
|
}
|