tailwindcss-base-buttons weekly downloads statistics
By thebakerdev · npm · Tailwind plugins
A base button styling for Tailwind Css
tailwindcss-base-buttons has 21 recorded weekly downloads on npm, a decrease of 32.3% over the past 30 days.
It ranks #1826 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -82.6%.
PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.
About tailwindcss-base-buttons
Tailwind CSS Base Buttons
This plugin adds a bunch of base button classes in your Tailwindcss components which can be customized based on your theme colors.
Demo & Documentation
Install
1. Install the plugin:
2. Add it inside your tailwind.config.js file:
Documentation
Out of the box, the plugin will generate these classes for styling your buttons. • btn-{color} - Colors are the default Tailwind colors. Ex: btn-indigo. • btn-{theme} - These classes are theme based colors. Ex: btn-primary. Other options are secondary, danger, default & disabled. • btn-outlined-{color|theme} - These are outlined button based on default and theme colors. Ex: btn-outlined-primary or btn-outlined-red. • btn-outlined-alt-{color|theme} - Same as outlined button but with solid backround on hover. • btn-gradient-{color|theme} -These are gradient buttons based on default and theme colors. Ex: btn-gradient-primary or btn-gradient-pink. • btn-{size} - These are button size classes. Ex: btn-xs. Other options are sm,md(default), lg,xl, • btn-rounded - These makes rounded buttons
Customization
The appearance of the button can be customized by passing an option object as a first argument of the plugin. Ex:
The example above will generate classes like .button-* with border-radius .5rem and padding .5rem 1rem. The theme colors generated would be .button-primary & .button-secondary.
You can also add your custom button styles by adding an object or a callback that generates your button style object as a second argument. Ex: using an object. This adds the .btn-sample class
Ex: using a callback. By using a callback, you can access the colorConfig and options which contains the default and theme colors and the options. This will add .btn-sample-{color|theme} classes.
Description from the npm listing.
- tailwindcss
- tailwindcss-plugin
- buttons
Where tailwindcss-base-buttons sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (543)Similar npm Tailwind plugins plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/tailwindcss-base-buttons. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.