Tailwind timepicker

Responsive time picker built with the latest Tailwind. Select and set a specific time value from a pre-determined set in a popup panel.


Basic

:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="flex justify-center">
<div class="mt-2 p-5 w-40 bg-white rounded-lg shadow-xl">
  <div class="flex">
    <select
      name="hours"
      class="bg-transparent text-xl appearance-none outline-none"
    >
      <option value="1">1</option>
      <option value="2">2</option>
      <option value="3">3</option>
      <option value="4">4</option>
      <option value="5">5</option>
      <option value="6">6</option>
      <option value="7">7</option>
      <option value="8">8</option>
      <option value="9">9</option>
      <option value="10">10</option>
      <option value="11">10</option>
      <option value="12">12</option>
    </select>
    <span class="text-xl mr-3">:</span>
    <select
      name="minutes"
      class="bg-transparent text-xl appearance-none outline-none mr-4"
    >
      <option value="0">00</option>
      <option value="30">30</option>
    </select>
    <select
      name="ampm"
      class="bg-transparent text-xl appearance-none outline-none"
    >
      <option value="am">AM</option>
      <option value="pm">PM</option>
    </select>
  </div>
</div>
</div>