Skip to content
  • Android
  • iOS
  • Web

Textarea

A Textarea component is an input field that allows users to enter multi-line text. It provides a larger area for text input compared to a standard text input field, making it ideal for comments, feedback, or any scenario where users need to provide detailed information. Textareas can be resized, styled, and configured to support features like character limits, placeholders, and auto-resizing to enhance user experience.

Live examples

Example.tsx

Attributes

NTextarea attributes
NameTypeDefaultDetails
idstringOptional
labelstringOptional
labelClassNamestringOptional
classNamestringOptionalSupported Tailwind-style utilities, resolved entirely in Rust. See the engine README.
errorstringOptional
helperTextstringOptional
onChange((value: ComponentTextChange) => void)Optional
valuestringOptional
defaultValuestringOptional
placeholderstringOptional
rowsnumberOptional
maxLengthnumberOptional
Engine reference for TextareaSet up engine components

Tags