@tkh/tailwind-plugin-aspect-ratio weekly downloads statistics
By tkh (2 listings) · npm · Tailwind plugins
Tailwindcss plugin to break elements out of width constraints and take up the full viewport
@tkh/tailwind-plugin-aspect-ratio has 10 recorded weekly downloads on npm, a decrease of 9.1% over the past 30 days, ranking #2060 of 2,322 tracked listings.
About @tkh/tailwind-plugin-aspect-ratio
@tkh/tailwind-plugin-aspect-ratio
Tailwindcss plugin to apply an aspect ratio to objects (images and videos).
Install
npm install @tkh/tailwind-plugin-aspect-ratio
Usage
Merge the plugin configuration with your tailwind.config.js
module.exports = {
plugins: [require('@tkh/tailwind-plugin-aspect-ratio')()],
}
Apply an aspect ratio
To create a square aspect ratio use .aspect-ratio-square
<div class="relative aspect-square">
<img
src="https://via.placeholder.com/260"
class="absolute top-0 left-0 w-full h-full object-cover"
/>
</div>
To create a 16x9 aspect ratio use .aspect-ratio-wide
<div class="relative aspect-wide">
<img
src="https://via.placeholder.com/260"
class="absolute top-0 left-0 w-full h-full object-cover"
/>
</div>
Description from the npm listing.
- aspect-ratio
- full width
- plugin
- tailwind css
- tailwind
- tailwindcss-plugin
- tailwindcss
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 (122)Similar npm Tailwind plugins plugins
All 20 @tkh/tailwind-plugin-aspect-ratio 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/@tkh/tailwind-plugin-aspect-ratio. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.