tailwind css to do app ui example

In this tutorial we will see tailwind css to do app ui, to do app list with icons examples with Tailwind CSS.


Tool Use

Tailwind CSS 3.x

Heroicons icon


Example 1

Tailwind CSS simple to do list app.

<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Tailwind CSS To DO APP</title>
    <script src="https://cdn.tailwindcss.com"></script>
  </head>

  <body>
    <div class="flex items-center justify-center h-screen">
        <div class="w-full px-4 py-8 mx-auto shadow lg:w-1/3">
          <div class="flex items-center mb-6">
            <h1 class="mr-6 text-4xl font-bold text-purple-600"> TO DO APP</h1>
          </div>
          <div class="relative">
            <input type="text" placeholder="What needs to be done today?"
              class="w-full px-2 py-3 border rounded outline-none border-grey-600" />
          </div>
          <ul class="list-reset">
            <li class="relative flex items-center justify-between px-2 py-6 border-b">
              <div>
                <input type="checkbox" class="" />
                <p class="inline-block mt-1 text-gray-600">Tailwind CSS To DO App List 1</p>
              </div>
              <button type="button" class="absolute right-0 flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-red-700" fill="none" viewBox="0 0 24 24"
                  stroke="currentColor" stroke-width="2">
                  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
                </svg>
              </button>
            </li>
            <li class="relative flex items-center justify-between px-2 py-6 border-b">
              <div>
                <input type="checkbox" class="" />
                <p class="inline-block mt-1 text-gray-600">Tailwind CSS To DO App List 2</p>
              </div>
              <button type="button" class="absolute right-0 flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-red-700" fill="none" viewBox="0 0 24 24"
                  stroke="currentColor" stroke-width="2">
                  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
                </svg>
              </button>
            </li>
          </ul>
        </div>
    </div>

  </body>

</html>
tailwind css to do app

tailwind css to do app

Example 2

Tailwind v3 to do app list with icons and strikethrough tags.

<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Tailwind CSS To DO List APP</title>
    <script src="https://cdn.tailwindcss.com"></script>
  </head>

  <body>
    <div class="flex items-center justify-center h-screen">
        <div class="w-full px-4 py-8 mx-auto shadow lg:w-1/3">
          <div class="flex items-center mb-6">
            <h1 class="mr-6 text-4xl font-bold text-purple-600"> TO DO APP</h1>
          </div>
          <div class="relative">
            <input type="text" placeholder="What needs to be done today?"
              class="w-full px-2 py-3 border rounded outline-none border-grey-600" />
          </div>
          <ul class="list-reset">
            <li class="relative flex items-center justify-between px-2 py-6 border-b">
              <div>
                <input type="checkbox" class="" />
                <p  class="inline-block mt-1 text-gray-600">Tailwind CSS To DO App List 1</p>
              </div>
              <button type="button" class="absolute right-0 flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-blue-600" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
                  <path stroke-linecap="round" stroke-linejoin="round" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z" />
                </svg>
                <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-red-700" fill="none" viewBox="0 0 24 24"
                  stroke="currentColor" stroke-width="2">
                  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
                </svg>
              </button>
            </li>
            <li class="relative flex items-center justify-between px-2 py-6 border-b">
              <div>
                <input type="checkbox" class="" />
                <p  class="inline-block mt-1 text-gray-600 line-through">Tailwind CSS To DO App List 2</p>
              </div>
              <button type="button" class="absolute right-0 flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-blue-600" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
                  <path stroke-linecap="round" stroke-linejoin="round" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z" />
                </svg>
                <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-red-700" fill="none" viewBox="0 0 24 24"
                  stroke="currentColor" stroke-width="2">
                  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
                </svg>
              </button>
            </li>
          </ul>
        </div>
    </div>

  </body>

</html>
tailwind css to do app list with icons

tailwind css to do app list with icons


Read Also

Tailwind CSS 3 FAQ Accordion UI Example

Tailwind CSS 3 Alert Message Example

Tailwind CSS 3 Avatars Example

Tailwind CSS 3 Badges Example

Tailwind CSS 3 Breadcrumb Example

Tailwind CSS Gradient Button Example

Tailwind CSS 3D Button Example

Tailwind CSS Loading Button Example

Tailwind CSS v3 Cards Examples

Tailwind CSS Checkbox Form Examples

Tailwind CSS Dropdowns (Menu) on Hover Example

Tailwind CSS Multiselect Dropdown Example

How to use dark mode toggle switch in Tailwind CSS 3

How to use @apply directive in Tailwind CSS

Tailwind CSS sticky header & fixed navbar example

Tailwind CSS Navbar UI Example

Tailwind CSS 3 Login Page UI Example

Tailwind CSS Login Modal Example

Tailwind CSS Search Examples

Tailwind CSS 3 Overlay Image Example

Tailwind CSS Thank You Page Example

Tailwind CSS Timeline UI Example

Tailwind CSS Responsive Footer Section Example

Tailwind CSS Background Image Header Example