The Textarea component allows users to enter multiple lines of text.

Adding a Textarea

To add a Textarea to your page, follow these steps:
  1. Open the Insert Menu and navigate to Components.
  1. Click or drag the Textarea onto your desired location on the page.

Guides

Using Textarea in Forms

Textareas work best when used within a form, so you can use built-in validation and data handling. To include a Textarea in a form, use the Textarea Field component available under Form Components.
To add a Textarea Field in a form:
  1. Open the Insert Menu and navigate to Components.
  1. Drag the Form component onto your page.
  1. Remove any unneeded elements from the form.
  1. With the form selected, open the Insert Menu again and choose the Textarea Field component within the form.

Adding a Label

Labels help users understand what information the textarea should contain.
To add a label to a textarea:
  1. Open the Insert Menu and select the Label component.
  1. Place the Textarea component inside the Label.
  1. Position the Label’s Text element relative to the textarea (e.g., above it).
  1. Use the Properties Panel to adjust the text style and spacing for clarity.

Disabling the Textarea

To prevent users from interacting with a textarea:
  1. Select the Textarea component.
  1. Go to the Properties Panel.
  1. Add the disabled property and set it to true.

Customizing Colors

You can adjust the colors of the textarea to fit your design:
  1. Select the Textarea component.
  1. Navigate to the Properties Panel.
  1. Modify the background and border colors to suit your design.

Adjusting Sizes

To change the size of your textarea:
  1. Select the Textarea component.
  1. Go to the Properties Panel.
  1. Set the width and height to your desired dimensions.

Changing Border Radius

Control how rounded the corners of the textarea appear:
  1. Select the Textarea component.
  1. Go to the Properties Panel.
  1. Adjust the border-radius as needed.

Adding Helper Text

Helper text offers additional guidance for users filling out the textarea.
To add a helper text:
  1. Wrap the Textarea in a Column (or similar container).
  1. Add a Text element directly beneath the textarea.
  1. Use the Properties Panel to customize the typography and spacing of the helper text.

Properties

Property
Type
Default
Description
id
string
-
Unique identifier for the textarea.
defaultValue
string
-
The default value of the textarea when it is first rendered.
disabled
boolean
false
If true, prevents the user from interacting with the input.
onChange
Action
-
Event handler triggered when the textarea value changes.
placeholder
string
‘Text’
The placeholder text shown when the textarea is empty.
Note:
  • No disabled or id properties
  • No properties for resizing
  • No html attributes

Powered by Notaku