import panel as pn pn.extension() text_area_input = pn.widgets.TextAreaInput(name='Text Area Input', placeholder='Enter a string here...') text_area_input text_area_input.value pn.widgets.TextAreaInput(name='Growing TextArea', auto_grow=True, max_rows=10, rows=6, value="""\ This text area will grow when newlines are added to the text: 1. Foo 2. Bar 3. Baz """, width=500) pn.widgets.TextAreaInput(name="Vertical Adjustable TextArea", resizable="height") pn.Row(text_area_input.controls(jslink=True), text_area_input)