- Published on
How To Create A Suresh Natarajan With Tailwind CSS In 6 Easy Steps?

- What is Tailwind CSS?
- The description of Suresh Natarajan ui component
- Why use Tailwind CSS to build a Suresh Natarajan ui component?
- The preview of Suresh Natarajan ui component
- The source code of Suresh Natarajan ui component
- How to build a Suresh Natarajan with Tailwind CSS?
- Install tailwind css of verion 2.2.4
- All the unility class needed to build a Suresh Natarajan component
- 34 steps to build a Suresh Natarajan component with Tailwind CSS
- Conclusion
What is Tailwind CSS?
Tailwind CSS is a utility-first CSS framework that focuses on creating personalized user interfaces quickly. It can gives you all the building blocks you are able to create personalized designs without having to fight to override irritating opinionated styles. Also, Tailwind CSS is a highly configurable, low-level CSS framework.
The description of Suresh Natarajan ui component
Dashboard
Why use Tailwind CSS to build a Suresh Natarajan ui component?
- It can make the building process of Suresh Natarajan ui component faster and more easily.
- Enables building complex responsive layouts and components freely.
- Minimum lines of CSS code in Suresh Natarajan component file.
The preview of Suresh Natarajan ui component
Free download of the Suresh Natarajan's source code
The source code of Suresh Natarajan ui component
<div class="antialiased bg-white">
<div>
<nav class="flex flex-row justify-between items-center bg-gray-200 border-black border-b-2">
<div class="flex items-center">
<svg class="w-6 h-6 m-2 bg-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path></svg>
<h1 class="font-bold">Website Name</h1>
</div>
<div class="flex">
<a href="">
<div class="flex justify-between items-center rounded-full px-1 w-8 h-8 bg-white m-2">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"></path></svg>
</div>
</a>
<a href="">
<div class="flex justify-between items-center rounded-full px-1 w-8 h-8 bg-white m-2">
</div>
</a>
</div>
</nav>
</div>
<div class="h-screen flex">
<div class="flex flex-col justify-between items-center border-r-2 border-l-2 border-black ">
<div class="flex-col">
<div class="mt-8"></div>
<a href="">
<div class="flex justify-between items-center rounded-full px-1 w-8 h-8 bg-white m-2">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path></svg>
</div>
</a>
<a href="">
<div class="flex justify-between items-center rounded-full px-1 w-8 h-8 bg-white m-2">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 17a2 2 0 11-4 0 2 2 0 014 0zM19 17a2 2 0 11-4 0 2 2 0 014 0z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16V6a1 1 0 00-1-1H4a1 1 0 00-1 1v10a1 1 0 001 1h1m8-1a1 1 0 01-1 1H9m4-1V8a1 1 0 011-1h2.586a1 1 0 01.707.293l3.414 3.414a1 1 0 01.293.707V16a1 1 0 01-1 1h-1m-6-1a1 1 0 001 1h1M5 17a2 2 0 104 0m-4 0a2 2 0 114 0m6 0a2 2 0 104 0m-4 0a2 2 0 114 0"></path></svg>
</div>
</a>
<a href="">
<div class="flex justify-between items-center rounded-full px-1 w-8 h-8 bg-white m-2">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"></path></svg>
</div>
</a>
</div>
<div class="flex flex-col">
<a href="">
<div class="flex justify-between items-center rounded-full px-1 w-8 h-8 bg-white m-2">
<svg class="flex-none w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4"></path></svg>
</div>
</a>
<a href="">
<div class="flex justify-between items-center rounded-full px-1 w-8 h-8 bg-white m-2">
<svg class="flex-none w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path></svg>
</div>
</a>
<a href="">
<div class="flex justify-between items-center rounded-full px-1 w-8 h-8 bg-white m-2">
<svg class="flex-none w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"></path></svg>
</div>
</a>
</div>
</div>
<div class="bg-gray-200 flex-auto border-2 border-gray">
<div class="bg-white">Home > </div>
<div class="m-2 space-y-2">
<div class="rounded-full">
<div class="bg-white">
<div class="w-6 h-6 rounded-full bg-blue-600 text-sm text-white justify-items-center">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"></path></svg>
</div>
<hr class="border-gray-800 mt-10" />
<div class="py-2 px-2 bg-gray-400">
<p class="font-bold text-white">Title</p>
<p class="text-white pt-3">Description</p>
<div class="bg-green-200 mt-3 cursor-pointer i text-center text-gray-800 font-bold">
Show more
</div>
</div>
</div>
</div>
<div class="rounded-full">
<div class="bg-white">
<div class="w-6 h-6 rounded-full bg-blue-600 text-sm text-white justify-items-center">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"></path></svg>
</div>
<hr class="border-gray-800 mt-10" />
<div class="py-2 px-2 bg-gray-400">
<p class="font-bold text-white">Title</p>
<p class="text-white pt-3">Description</p>
<div class="bg-green-200 mt-3 cursor-pointer i text-center text-gray-800 font-bold">
Show more
</div>
</div>
</div>
</div>
<div class="rounded-full">
<div class="bg-white">
<div class="w-6 h-6 rounded-full bg-blue-600 text-sm text-white justify-items-center">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"></path></svg>
</div>
<hr class="border-gray-800 mt-10" />
<div class="py-2 px-2 bg-gray-400">
<p class="font-bold text-white">Title</p>
<p class="text-white pt-3">Description</p>
<div class="bg-green-200 mt-3 cursor-pointer i text-center text-gray-800 font-bold">
Show more
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
How to build a Suresh Natarajan with Tailwind CSS?
Install tailwind css of verion 2.2.4
Use the script
html tag to import the script of Tailwind CSS of the version 2.2.4
<script src="https://cdn.tailwindcss.com"></script>
All the unility class needed to build a Suresh Natarajan component
bg-white
flex
flex-row
bg-gray-200
border-black
border-b-2
w-6
h-6
m-2
px-1
w-8
h-8
h-screen
flex-col
border-r-2
border-l-2
mt-8
flex-none
flex-auto
border-2
border-gray
bg-blue-600
text-sm
text-white
border-gray-800
mt-10
py-2
px-2
bg-gray-400
pt-3
bg-green-200
mt-3
text-center
text-gray-800
34 steps to build a Suresh Natarajan component with Tailwind CSS
Control the background color of an element to white using the
bg-white
utilities.Use
flex
to create a block-level flex container.Use
flex
to create a block-level flex container.Control the background color of an element to gray-200 using the
bg-gray-200
utilities.Control the border color of an element to black using the
border-black
utilities.Control the border color of an element to b-2 using the
border-b-2
utilities.Use
w-6
to set an element to a fixed width(1.5rem).Use
h-6
to set an element to a fixed height(1.5rem).Control the margin on all sides of an element to 0.5rem using the
m-2
utilities.Control the horizontal padding of an element to 0.25rem using the
px-1
utilities.Use
w-8
to set an element to a fixed width(2rem).Use
h-8
to set an element to a fixed height(2rem).Use
h-screen
to make an element span the entire height of the viewport.Use
flex
to create a block-level flex container.Control the border color of an element to r-2 using the
border-r-2
utilities.Control the border color of an element to l-2 using the
border-l-2
utilities.Control the margin on top side of an element to 2rem using the
mt-8
utilities.Use
flex
to create a block-level flex container.Use
flex
to create a block-level flex container.Control the border color of an element to 0.5rem using the
border-2
utilities.Control the border color of an element to gray using the
border-gray
utilities.Control the background color of an element to blue-600 using the
bg-blue-600
utilities.Control the text color of an element to sm using the
text-sm
utilities.Control the text color of an element to white using the
text-white
utilities.Control the border color of an element to gray-800 using the
border-gray-800
utilities.Control the margin on top side of an element to 2.5rem using the
mt-10
utilities.Control the vertical padding of an element to 0.5rem using the
py-2
utilities.Control the horizontal padding of an element to 0.5rem using the
px-2
utilities.Control the background color of an element to gray-400 using the
bg-gray-400
utilities.Control the padding on top side of an element to 0.75rem using the
pt-3
utilities.Control the background color of an element to green-200 using the
bg-green-200
utilities.Control the margin on top side of an element to 0.75rem using the
mt-3
utilities.Control the text color of an element to center using the
text-center
utilities.Control the text color of an element to gray-800 using the
text-gray-800
utilities.
Conclusion
The above is a step-by-step tutorial on how to use Tailwind CSS to build a Suresh Natarajan components, learn and follow along to implement your own components.