The input element is used to create interactive controls for web-based forms in order to accept data from the user. Everything here is styled using Tailwind CSS.
Without Border
Simple
<!-- Small Input -->
<div class= "mb-3 pt-0" >
<input type= "text" placeholder= "Small Input" class= "px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm shadow outline-none focus:outline-none focus:shadow-outline w-full" />
</div>
<!-- Regular Input -->
<div class= "mb-3 pt-0" >
<input type= "text" placeholder= "Regular Input" class= "px-3 py-3 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm shadow outline-none focus:outline-none focus:shadow-outline w-full" />
</div>
<!-- Large Input -->
<div class= "mb-3 pt-0" >
<input type= "text" placeholder= "Large Input" class= "px-3 py-4 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-base shadow outline-none focus:outline-none focus:shadow-outline w-full" />
</div>
With left icon
<!-- Small Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-base items-center justify-center w-8 pl-2 py-1" >
<i class= "fas fa-lock" ></i>
</span>
<input type= "text" placeholder= "Small Input" class= "px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm shadow outline-none focus:outline-none focus:shadow-outline w-full pl-10" />
</div>
<!-- Regular Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-base items-center justify-center w-8 pl-3 py-3" >
<i class= "fas fa-lock" ></i>
</span>
<input type= "text" placeholder= "Regular Input" class= "px-3 py-3 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm shadow outline-none focus:outline-none focus:shadow-outline w-full pl-10" />
</div>
<!-- Large Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-lg items-center justify-center w-8 pl-3 py-4" >
<i class= "fas fa-lock" ></i>
</span>
<input type= "text" placeholder= "Large Input" class= "px-3 py-4 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-base shadow outline-none focus:outline-none focus:shadow-outline w-full pl-10" />
</div>
With right icon
<!-- Small Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<input type= "text" placeholder= "Small Input" class= "px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm shadow outline-none focus:outline-none focus:shadow-outline w-full pr-10" />
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-base items-center justify-center w-8 right-0 pr-2 py-1" >
<i class= "fas fa-user" ></i>
</span>
</div>
<!-- Regular Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<input type= "text" placeholder= "Regular Input" class= "px-3 py-3 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm shadow outline-none focus:outline-none focus:shadow-outline w-full pr-10" />
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-base items-center justify-center w-8 right-0 pr-3 py-3" >
<i class= "fas fa-user" ></i>
</span>
</div>
<!-- Large Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<input type= "text" placeholder= "Large Input" class= "px-3 py-4 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-base shadow outline-none focus:outline-none focus:shadow-outline w-full pr-10" />
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-lg items-center justify-center w-8 right-0 pr-3 py-4" >
<i class= "fas fa-user" ></i>
</span>
</div>
With Border
Simple
<!-- Small Input -->
<div class= "mb-3 pt-0" >
<input type= "text" placeholder= "Small Input" class= "px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm border border-blueGray-300 outline-none focus:outline-none focus:shadow-outline w-full" />
</div>
<!-- Regular Input -->
<div class= "mb-3 pt-0" >
<input type= "text" placeholder= "Regular Input" class= "px-3 py-3 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm border border-blueGray-300 outline-none focus:outline-none focus:shadow-outline w-full" />
</div>
<!-- Large Input -->
<div class= "mb-3 pt-0" >
<input type= "text" placeholder= "Large Input" class= "px-3 py-4 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-base border border-blueGray-300 outline-none focus:outline-none focus:shadow-outline w-full" />
</div>
With left icon
<!-- Small Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-base items-center justify-center w-8 pl-2 py-1" >
<i class= "fas fa-lock" ></i>
</span>
<input type= "text" placeholder= "Small Input" class= "px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm border border-blueGray-300 outline-none focus:outline-none focus:shadow-outline w-full pl-10" />
</div>
<!-- Regular Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-base items-center justify-center w-8 pl-3 py-3" >
<i class= "fas fa-lock" ></i>
</span>
<input type= "text" placeholder= "Regular Input" class= "px-3 py-3 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm border border-blueGray-300 outline-none focus:outline-none focus:shadow-outline w-full pl-10" />
</div>
<!-- Large Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<span class= "z-10 h-full leading-normal font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-lg items-center justify-center w-8 pl-3 py-4" >
<i class= "fas fa-lock" ></i>
</span>
<input type= "text" placeholder= "Large Input" class= "px-3 py-4 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-base border border-blueGray-300 outline-none focus:outline-none focus:shadow-outline w-full pl-10" />
</div>
With right icon
<!-- Small Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<input type= "text" placeholder= "Small Input" class= "px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm border border-blueGray-300 outline-none focus:outline-none focus:shadow-outline w-full pr-10" />
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-base items-center justify-center w-8 right-0 pr-2 py-1" >
<i class= "fas fa-user" ></i>
</span>
</div>
<!-- Regular Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<input type= "text" placeholder= "Regular Input" class= "px-3 py-3 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm border border-blueGray-300 outline-none focus:outline-none focus:shadow-outline w-full pr-10" />
<span class= "z-10 h-full leading-snug font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-base items-center justify-center w-8 right-0 pr-3 py-3" >
<i class= "fas fa-user" ></i>
</span>
</div>
<!-- Large Input -->
<div class= "relative flex w-full flex-wrap items-stretch mb-3" >
<input type= "text" placeholder= "Large Input" class= "px-3 py-4 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-base border border-blueGray-300 outline-none focus:outline-none focus:shadow-outline w-full pr-10" />
<span class= "z-10 h-full leading-normal font-normal absolute text-center text-blueGray-300 absolute bg-transparent rounded text-lg items-center justify-center w-8 right-0 pr-3 py-4" >
<i class= "fas fa-user" ></i>
</span>
</div>