Tailwind textarea

Responsive textarea built with Tailwind. Textarea defines a multi-line text input control and is often used in a form, to collect user inputs like comments or reviews.


Basic example

1
2
3
4
5
6
7
<!-- Required form plugin -->
<link href="https://cdn.jsdelivr.net/npm/@tailwindcss/custom-forms@0.2.1/dist/custom-forms.css" rel="stylesheet">

<label class="block text-left" style="max-width: 400px;">
  <span class="text-gray-700">Textarea</span>
  <textarea class="form-textarea mt-1 block w-full" rows="3" placeholder="Enter some long form content."></textarea>
</label>