← 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.
| Argument | Type | Default | Description |
|---|---|---|---|
| input_id | character | required | Text area selector target. |
| placeholder | character | NULL | Hint inside input field. |
| rows | integer | 3 | Default vertical lines size. |
| disabled | logical | FALSE | Freeze interactive inputs. |
| invalid | logical | FALSE | Show validation highlights. |
| style | character | NULL | Custom inline style overrides. |
| class | character | NULL | Additional CSS styles. |
update_block_textarea()
Alters value contexts and placeholders from server handlers.
| Argument | Type | Default | Description |
|---|---|---|---|
| session | ShinySession | required | Active R/Shiny session. |
| input_id | character | required | Target textarea component ID. |
| value | character | NULL | Replace full inner text area content. |
| placeholder | character | NULL | New descriptive hint text. |
| disabled | logical | NULL | Set text inputs blocked. |
| invalid | logical | NULL | Update validation border color. |