Skip to content

UITextarea

Default (6 rows)
Custom rows
PropTypeDefaultDescription
valuestring""Current textarea value
placeholderstring""Placeholder text
rowsnumber6Visible row count
onInput(value: string) => voidCalled on every keystroke with the new value
import { UITextarea } from "tango-api";
const [notes, setNotes] = useState("");
<UITextarea value={notes} placeholder="Write something..." rows={4} onInput={setNotes} />