<form className="flex items-center space-x-5 bg-white rounded-md p-2 shadow-md flex-1 md:flex-initial"> <MagnifyingGlassIcon className="h-6 w-6 text-gray-400" /> <input type="text" placeholder="search" className="flex-1 outline-none p-2" /> <button type="submit">Search</button> </form>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter