← Back to Components

Textarea

Multi-line text editor with native height adjustments and error states.

Interactive Playground

R Code

API Reference

block_textarea()

Renders multi-line text input fields styled with premium boundary tokens.

ArgumentTypeDefaultDescription
input_idcharacterrequiredText area selector target.
placeholdercharacterNULLHint inside input field.
rowsinteger3Default vertical lines size.
disabledlogicalFALSEFreeze interactive inputs.
invalidlogicalFALSEShow validation highlights.
stylecharacterNULLCustom inline style overrides.
classcharacterNULLAdditional CSS styles.

update_block_textarea()

Alters value contexts and placeholders from server handlers.

ArgumentTypeDefaultDescription
sessionShinySessionrequiredActive R/Shiny session.
input_idcharacterrequiredTarget textarea component ID.
valuecharacterNULLReplace full inner text area content.
placeholdercharacterNULLNew descriptive hint text.
disabledlogicalNULLSet text inputs blocked.
invalidlogicalNULLUpdate validation border color.