Textarea
Multiline text entry that composes with the same labels and errors as Input.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Copy an example into your project with the shadcn CLI: npx shadcn@latest add https://design.gaudi.site/r/textarea-auto-resize.json.
Usage
Playground
Examples
Growing note field with a counter
Field states
API
6 props
Accessibility
Use FieldLabel and FieldError. Preserve entered text after a validation or submission failure.
Related
InputText, search, numeric and date inputs with prefix and suffix slots.11 examplesFieldField composes form label, description, error, and input building blocks.7 examplesAspectRatioKeep media at a stable aspect ratio as its container resizes.1 exampleAvatarProfile images, resilient initials, presence, verification, account menus and collaborator groups. The existing Avatar API and curated patterns share the same image and fallback primitives.10 examplesButtonButton renders the Gaudi action and link-button variants.7 examplesButtonGroupGroup related actions with joined borders and consistent sizing.9 examples