Close menu

Pattern Library

<div class="flex flex-col items-start gap-2 {{ classes }}">
  <label for="{{ id }}">
    {{ label }}

    {% if is_required %}
      <span class="text-red-600">*</span>
    {% endif %}
  </label>
  <textarea
    class="
      form__text-input resize-none

      w-full lg:w-96
    "
    id="{{ id }}"
  ></textarea>
</div>
context:
  classes: ''
  label: 'SmluvnĂ­ podmĂ­nky'
  id: 'textarea_1'