Skip to content

ZTextarea

Multi-line text input

Example

Import

tsx
import { ZTextarea } from "zurto-ui";

Usage

tsx
import { ZTextarea } from "zurto-ui";

function Example() {
  return <ZTextarea placeholder="Enter your message..." rows={4} />;
}

Props

| Prop | Type | Default | Description | | ------------- | -------- | ---------- | ---------------- | ------- | ------------ | --------------- | | placeholder | string | - | Placeholder text | | rows | number | 4 | Visible rows | | resize | 'none' | 'vertical' | 'horizontal' | 'both' | 'vertical' | Resize behavior |

Accessibility

  • ✅ Keyboard navigation support
  • ✅ ARIA attributes included
  • ✅ Screen reader friendly
  • ✅ Focus management

Released under the MIT License.