Textarea
Displays a form textarea for longer text input.
Installation
bash
npx @galaxy-stack/nebula-cli@latest add textareabash
pnpm dlx @galaxy-stack/nebula-cli@latest add textareabash
yarn dlx @galaxy-stack/nebula-cli@latest add textareabash
bunx @galaxy-stack/nebula-cli@latest add textareabash
# If you have installed galaxy-design globally
galaxy-design add textareaUsage
API Reference
Props
| Prop | Type | Default | Description | Frameworks |
|---|---|---|---|---|
value | string | number | - | Controlled textarea value | All |
defaultValue | string | number | - | Uncontrolled initial value | All |
placeholder | string | - | Placeholder text | All |
disabled | boolean | false | Disables the textarea | All |
rows | number | - | Visible number of text rows | All |
name | string | - | Field name for form submission | All |
required | boolean | false | Makes field required | All |
readOnly | boolean | false | Makes textarea read-only | All |
maxLength | number | - | Maximum number of characters | All |
autoComplete | string | - | Autocomplete attribute | All |
className | string | '' | CSS class names | All |
Accessibility
- Keyboard Navigation: [TODO]
- Screen Reader: [TODO]
- Focus Management: [TODO]
- WCAG Compliance: WCAG 2.1 Level AA compliant
Author
Bùi Trọng Hiếu (kevinbui)
- GitHub: @buikevin
- Email: kevinbui210191@gmail.com
License
MIT © 2025 Bùi Trọng Hiếu (kevinbui)
