tailwindcss-container-query weekly downloads statistics
By dgknca · npm · Tailwind plugins
A plugin that provides CSS Container Queries.
tailwindcss-container-query has 182 recorded weekly downloads on npm, an increase of 122% over the past 30 days.
It ranks #1605 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by +29.1%.
PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.
About tailwindcss-container-query
tailwindcss-container-query
A plugin that provides CSS Container Queries.
BEFORE STARTING
This plugin relies on container-query-polyfill. You must add it to make this plugin work. We have to rely on polyfills until all browsers have implemented them. see the support table
Installation
Install the plugin from npm:
Then add the plugin to your tailwind.config.js file:
Usage
Container Queries up to 10 are generated by default:
| Class | Query |
| cq-w-4 | @container (min-width: 64px) | | cq-w-6 | @container (min-width: 96px) | | cq-w-9 | @container (min-width: 144px) | | cq-w-16 | @container (min-width: 256px) | | cq-w-22 | @container (min-width: 352px) | | cq-h-4 | @container (min-height: 64px) | | cq-h-6 | @container (min-height: 96px) | | cq-h-9 | @container (min-height: 144px) | | cq-h-16 | @container (min-height: 256px) | | cq-h-22 | @container (min-height: 352px) |
Utilities:
| Class | Property |
| container-type-size | container-type: size | | container-type-inline-size | container-type: inline-size | | container-type-block-size | container-type: block-size | | container-type-style | container-type: style | | container-type-state | container-type: state |
There are no any container-name utilities by default. You should define your own utilities in tailwind.config.js.
Example Usage
.cq-w-6:bg-yellow-400 output:
You can use arbitrary variants too. (You should be using v3.1.0 or higher!)
.cq-w-6:bg-yellow-400 output:
Using Container Names
.cq-w-sb-6:bg-yellow-400 output:
Configuration
You can configure which values and variants are generated by this plugin under the containerQuery, containerType and containerName keys in your tailwind.config.js file:
Demo Page
Description from the npm listing.
- tailwind
- tailwindcss
- tailwindcss-plugin
- tailwind-utility
- tailwind-variants
- container-query
- tailwidncss-container-query
Where tailwindcss-container-query 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-container-query. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.