tailwindcss-responsive-embed weekly downloads statistics
By drdogbot7 · npm · Tailwind plugins
Responsive Embed plugin for tailwindcss framework
tailwindcss-responsive-embed has 2,825 recorded weekly downloads on npm, an increase of 25.6% over the past 30 days, ranking #1767 of 3,247 tracked listings.
About tailwindcss-responsive-embed
tailwind-responsive-embed
responsive embed component for tailwindcss, based on bootstrap's responsive embed which is itself credited to Nicolas Gallagher and SUIT CSS. This will add the .embed-responsive and .embed-responsive-item components to your css.
This plugin relies on webdna/tailwindcss-aspect-ratio to create the aspect ratio utility classes.
Install
# Install via npm
npm install --save-dev tailwindcss-responsive-embed
Usage
Responsive embed classes won't do much by themselves, so require tailwindcss-aspect-ratio also. It shouldn't matter what order they are included.
module.exports = {
theme: {
aspectRatio: {
none: 0,
square: [1, 1],
"16/9": [16, 9],
"4/3": [4, 3],
"21/9": [21, 9]
}
},
variants: {
aspectRatio: ['responsive']
},
plugins: [
require("tailwindcss-responsive-embed"),
require("tailwindcss-aspect-ratio"),
]
}
This configuration would create the following classes:
.embed-responsive {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
.embed-responsive-item,
iframe,
embed,
object,
video {
position: absolute;
top: 0;
left: 0;
bottom: 0;
height: 100%;
width: 100%;
border: 0;
}
}
.aspect-ratio-square {
padding-top: 100%;
}
.aspect-ratio-16/9 {
padding-top: 56.25%;
}
.aspect-ratio-4/3 {
padding-top: 75%;
}
.aspect-ratio-21/9 {
padding-top: 42.86%;
}
Example HTML
<div class="embed-responsive aspect-ratio-4/3">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/J---aiyznGQ"></iframe>
</div>
Description from the npm listing.
- tailwind
- tailwindcss
- plugin
- tailwindcss-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 (157)Similar npm Tailwind plugins plugins
All 20 tailwindcss-responsive-embed 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-responsive-embed. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.