Basic examples
Badge is an element for the use of drawing attention to additional interface information with eye-catching appeal, typically displaying unread messages count.
Example heading New
Hey there 👋 we want to make TW elements a community-driven project. It's open source and free, and we would like it to stay that way. If you enjoy it, help the project grow by sharing it with your peers. Every share counts, thank you!
Sizes
Badge can be displayed in a few different sizes.
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Button
The badge can also be placed inside the button to display, for example, the number of notifications or necessary actions to perform.
Colors
The background color can be modified to change the badge's appeal.
Pills
Use the .rounded-full utility class to make badges more rounded with a larger border-radius.