Tailwind stepper

Responsive stepper built with the latest Tailwind. Stepper conveys progress through numbered steps. Steppers display progress through a sequence of logical and numbered steps.


Basic

Step 1

Job details

Step 2

Application form

Step 3

Preview

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<div class="grid grid-cols-3 gap-4 w-3/4 m-auto">
  <div class="border-t-4 border-purple-500 pt-4">
    <p class="uppercase text-purple-500 font-bold">Step 1</p>

    <p class="font-semibold">Job details</p>
  </div>
  <div class="border-t-4 border-purple-500 pt-4">
    <p class="uppercase text-purple-500 font-bold">Step 2</p>

    <p class="font-semibold">Application form</p>
  </div>
  <div class="border-t-4 border-gray-200 pt-4">
    <p class="uppercase text-gray-400 font-bold">Step 3</p>

    <p class="font-semibold">Preview</p>
  </div>
</div>

With icons

Personal
Account
Message
Confirm
  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
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<div class="p-5">
  <div class="mx-4 p-4">
    <div class="flex items-center">
      <div class="flex items-center text-purple-500 relative">
        <div
          class="rounded-full transition duration-500 ease-in-out h-12 w-12 py-3 border-2 border-purple-500"
        >
          <svg
            xmlns="http://www.w3.org/2000/svg"
            width="100%"
            height="100%"
            fill="none"
            viewBox="0 0 24 24"
            stroke="currentColor"
            stroke-width="2"
            stroke-linecap="round"
            stroke-linejoin="round"
            class="feather feather-bookmark"
          >
            <path
              d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"
            ></path>
          </svg>
        </div>
        <div
          class="absolute top-0 -ml-10 text-center mt-16 w-32 text-xs font-medium uppercase text-purple-500"
        >
          Personal
        </div>
      </div>
      <div
        class="flex-auto border-t-2 transition duration-500 ease-in-out border-purple-500"
      ></div>
      <div class="flex items-center text-white relative">
        <div
          class="rounded-full transition duration-500 ease-in-out h-12 w-12 py-3 border-2 bg-purple-500 border-purple-500"
        >
          <svg
            xmlns="http://www.w3.org/2000/svg"
            width="100%"
            height="100%"
            fill="none"
            viewBox="0 0 24 24"
            stroke="currentColor"
            stroke-width="2"
            stroke-linecap="round"
            stroke-linejoin="round"
            class="feather feather-user-plus"
          >
            <path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
            <circle cx="8.5" cy="7" r="4"></circle>
            <line x1="20" y1="8" x2="20" y2="14"></line>
            <line x1="23" y1="11" x2="17" y2="11"></line>
          </svg>
        </div>
        <div
          class="absolute top-0 -ml-10 text-center mt-16 w-32 text-xs font-medium uppercase text-purple-500"
        >
          Account
        </div>
      </div>
      <div
        class="flex-auto border-t-2 transition duration-500 ease-in-out border-gray-300"
      ></div>
      <div class="flex items-center text-gray-500 relative">
        <div
          class="rounded-full transition duration-500 ease-in-out h-12 w-12 py-3 border-2 border-gray-300"
        >
          <svg
            xmlns="http://www.w3.org/2000/svg"
            width="100%"
            height="100%"
            fill="none"
            viewBox="0 0 24 24"
            stroke="currentColor"
            stroke-width="2"
            stroke-linecap="round"
            stroke-linejoin="round"
            class="feather feather-mail"
          >
            <path
              d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"
            ></path>
            <polyline points="22,6 12,13 2,6"></polyline>
          </svg>
        </div>
        <div
          class="absolute top-0 -ml-10 text-center mt-16 w-32 text-xs font-medium uppercase text-gray-500"
        >
          Message
        </div>
      </div>
      <div
        class="flex-auto border-t-2 transition duration-500 ease-in-out border-gray-300"
      ></div>
      <div class="flex items-center text-gray-500 relative">
        <div
          class="rounded-full transition duration-500 ease-in-out h-12 w-12 py-3 border-2 border-gray-300"
        >
          <svg
            xmlns="http://www.w3.org/2000/svg"
            width="100%"
            height="100%"
            fill="none"
            viewBox="0 0 24 24"
            stroke="currentColor"
            stroke-width="2"
            stroke-linecap="round"
            stroke-linejoin="round"
            class="feather feather-database"
          >
            <ellipse cx="12" cy="5" rx="9" ry="3"></ellipse>
            <path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"></path>
            <path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path>
          </svg>
        </div>
        <div
          class="absolute top-0 -ml-10 text-center mt-16 w-32 text-xs font-medium uppercase text-gray-500"
        >
          Confirm
        </div>
      </div>
    </div>
  </div>
  <div class="mt-8 p-4">
    <div class="flex p-2 mt-4">
      <button
      class="bg-gray-200 text-gray-800 active:bg-purple-600 font-bold uppercase text-sm px-6 py-3 rounded shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150"
      type="button">
      Previous
    </button>
      <div class="flex-auto flex flex-row-reverse">
        <button
        class=" mx-3 bg-purple-500 text-white active:bg-purple-600 font-bold uppercase text-sm px-6 py-3 rounded shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150"
        type="button">
        Next 
      </button>
      <button
      class="text-purple-500 bg-transparent border border-solid border-purple-500 hover:bg-purple-500 hover:text-white active:bg-purple-600 font-bold uppercase text-sm px-6 py-3 rounded outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150"
      type="button">
      Skip
    </button>
      </div>
    </div>
  </div>
</div>