v5.0 launch sale - limited time offer!
Tailwind CSS Badges
There are 6 available components in this category, preview them all!
Default
Fully responsive design
Supports dark mode
HTML code snippet
React code snippet
Vue.js code snippet
Screenshot

Default Pill
Fully responsive design
Supports dark mode
HTML code snippet
React code snippet
Vue.js code snippet
Screenshot

Small
Fully responsive design
Supports dark mode
HTML code snippet
React code snippet
Vue.js code snippet
Screenshot

Small Pill
Fully responsive design
Supports dark mode
HTML code snippet
React code snippet
Vue.js code snippet
Screenshot

With Icons
Fully responsive design
Supports dark mode
HTML code snippet
React code snippet
Vue.js code snippet
Screenshot
With Close Button
Fully responsive design
Supports dark mode
Supports color editor
HTML code snippet
React code snippet
Vue.js code snippet
Screenshot

Need more information?
Frequently Asked Questions
Let’s have a better look into Tailwind CSS Badges.
How do I position a notification count badge on an icon?
Set the icon's container to relative, then position the badge with absolute -top-1 -right-1 (adjust offsets to taste). For counts above 99, display "99+" to keep the badge compact. The pill-shaped variants work particularly well here since they grow horizontally with the text content.

Build better websites faster
2,000+ handcrafted snippets.
Now in your AI editor.
Build modern web apps and websites with Tailkit's huge collection of Tailwind components, templates and tools. Now available through our MCP Server.