Tailwind multiselect

Responsive multiselect built with Tailwind. Unlike a normal select, multiselect allows the user to select multiple options at once


Basic example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
<!-- 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: 300px;">
  <span class="text-gray-700">Multiselect</span>
  <select class="form-multiselect block w-full mt-1" multiple>
    <option>Option 1</option>
    <option>Option 2</option>
    <option>Option 3</option>
    <option>Option 4</option>
    <option>Option 5</option>
  </select>
</label>