npm install @thrivecart/uiyarn add @thrivecart/uipnpm add @thrivecart/uibun add @thrivecart/uiimport { Textarea } from '@thrivecart/ui';Simple multi-line text input
<Textarea placeholder="Enter your message..." />Textarea within a form field with label and helper text
Maximum 500 characters
<div className="flex flex-col gap-1.5">
<label className="text-sm font-medium text-ink-dark">Description</label>
<Textarea placeholder="Describe your campaign..." rows={4} />
<p className="text-xs text-ink-light">Maximum 500 characters</p>
</div>Textarea that is not editable
<Textarea disabled value="This content cannot be edited" />Use the rows prop to set a reasonable default height based on expected content length.
Use placeholder text to hint at the expected format or content type.
Use the Input component for short, single-line values like names or emails.
If there's a max length, show remaining characters to prevent frustration.
id and htmlFor attributes.aria-describedby for helper and error text.