tailwindcss-shadcn-utilities weekly downloads statistics
By programming-with-ia (2 listings) · npm · Tailwind plugins
A Tailwind CSS plugin to generate custom color utilities for background and foreground.
tailwindcss-shadcn-utilities has 9 recorded weekly downloads on npm, an increase of 12.5% over the past 30 days, ranking #3155 of 3,247 tracked listings.
About tailwindcss-shadcn-utilities
tailwindcss-shadcn-utilities
A plugin for Tailwind CSS v3.2+ that provides utility classes for combining background and foreground colors based on ShadCN themes. This allows you to apply consistent color combinations for elements like buttons, cards, popovers, and more with a single CSS class.
Installation
Install the plugin from npm:
npm install tailwindcss-shadcn-utilities -D
pnpm add tailwindcss-shadcn-utilities -D
yarn add tailwindcss-shadcn-utilities --dev
Then add the plugin to your tailwind.config.js file:
// tailwind.config.js
module.exports = {
theme: {
// ...
},
plugins: [
require("tailwindcss-shadcn-utilities"),
// ...
],
};
Usage
After adding the plugin, you can use the following utility classes to apply both background and foreground colors in one go:
with tailwindcss-shadcn-utilities | |
|---|---|
bg-card text-card-foreground | card |
bg-popover text-popover-foreground | popover |
bg-primary text-primary-foreground | primary |
bg-secondary text-secondary-foreground | secondary |
bg-muted text-muted-foreground | muted |
bg-accent text-accent-foreground | accent |
bg-destructive text-destructive-foreground | destructive |
Example
<div class="card p-4 rounded-lg">
<!-- ... -->
</div>
<button class="primary md:secondary">Button</button>
<button class="secondary hover:primary">Button</button>
<div class="popover p-4">
<!-- ... -->
</div>
These utility classes will automatically apply both background and text colors based on the ShadCN UI theme.
License
tailwindcss-shadcn-utilities is open-source and licensed under the MIT License.
Description from the npm listing.
- plugin
- tailwind
- tailwindcss
- tailwindcss-plugin
- color-utilities
- tailwindcss-shadcn-utilities
- shadcn-utilites
- utilites
- shadcn
- shadcn-tailwind-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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.
Each band is one page of 20. Weekly downloads on a linear 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.
Recent observations
Full history (592)Similar npm Tailwind plugins plugins
All 20 tailwindcss-shadcn-utilities alternativesData 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-shadcn-utilities. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.