Skip to content

Responsive textarea built with Bootstrap 5. How to change size, height, width and style. Examples of comments, contact form, checkout and chat.

Notifications You must be signed in to change notification settings

mdbootstrap/bootstrap-textarea

Repository files navigation

Responsive textarea built with Bootstrap 5. How to change size, height, width and style. Examples of comments, contact form, checkout and chat.

Check out Bootstrap Textarea Documentation for detailed instructions & even more examples.

Basic example

Bootstrap 5 Textarea

<div class="form-outline">
  <textarea class="form-control" id="textAreaExample1" rows="4"></textarea>
  <label class="form-label" for="textAreaExample">Message</label>
</div>

Definition

A Bootstrap Textarea is an input dedicated to a large volume of text. It may be used in a variety of components like forms, comment sections, chats and forums.

Textarea can hold an unlimited number of characters, and the text renders in a fixed-width font.

The name attribute is needed to reference the form data after the form is submitted (if you omit the name attribute, no data from the text area will be submitted).

The id attribute is needed to associate the text area with a label.

How to use?

  1. Download MDB 5 - free UI KIT

  2. Choose your favourite customized component and click on the image

  3. Copy & paste the code into your MDB project

▶️ Subscribe to YouTube channel for web development tutorials & resources

More examples

Bootstrap Textarea Height: Bootstrap 5 Textarea

Bootstrap Textarea Width: Bootstrap 5 Textarea

Bootstrap Textarea Contact form: Bootstrap 5 Textarea

Bootstrap Textarea Checkout form: Bootstrap 5 Textarea

Bootstrap Textarea Simple comment card: Bootstrap 5 Textarea

Bootstrap Textarea Add a comment: Bootstrap 5 Textarea

Bootstrap Textarea Chat: Bootstrap 5 Textarea


More extended Bootstrap documentation