Button Group with Stat

Explore the power of button groups to streamline navigation and improve interaction on your website.

HTML + Tailwind
<button type="button" class="flex items-center divide-x rounded-lg border border-gray-300 bg-white text-center text-sm font-medium text-secondary-700 shadow-sm hover:bg-gray-100"> <div class="flex items-center space-x-2 py-2.5 px-3"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="h-5 w-5 text-secondary-400"> <path fill-rule="evenodd" d="M10 2c-1.716 0-3.408.106-5.07.31C3.806 2.45 3 3.414 3 4.517V17.25a.75.75 0 001.075.676L10 15.082l5.925 2.844A.75.75 0 0017 17.25V4.517c0-1.103-.806-2.068-1.93-2.207A41.403 41.403 0 0010 2z" clip-rule="evenodd" /> </svg> <span>Bookmark</span> </div> <div class="py-2.5 px-3">1,900</div> </button>
Abdelmjid Saber

Abdelmjid Saber


I love learning and creating something new fast, secure and clean code applications.