Skip to content
PluginStats

@neupauer/tailwindcss-plugin-aspect-ratio weekly downloads statistics

By neupauer (2 listings) · npm · Tailwind plugins

A Tailwind CSS plugin for aspect ratio.

View on npm Fresh · Dec 6, 2026

@neupauer/tailwindcss-plugin-aspect-ratio has 17 recorded weekly downloads on npm, an increase of 240% over the past 30 days, ranking #3027 of 3,247 tracked listings.

Weekly downloads
17
Official API · Dec 5, 2026
7-day growth
+113%
+9 weekly downloads
30-day growth
+240%
+12 weekly downloads
90-day growth
+113%
+9 weekly downloads
Rank
#3027
▼ 19 in 7 days

About @neupauer/tailwindcss-plugin-aspect-ratio

<p align="center"> <img src="assets/logo.png" alt="Tailwind CSS Plugin – Aspect Ratio" height="100" /> </p>

Tailwind CSS Plugin – Aspect Ratio

<p align="center"> <img src="assets/screenshot.png" alt="Screenshot" /> </p>

Install

  1. Install the plugin:
# Using npm
npm install @neupauer/tailwindcss-plugin-aspect-ratio --save-dev

# Using Yarn
yarn add @neupauer/tailwindcss-plugin-aspect-ratio -D
  1. Add it to your tailwind.config.js file:
// tailwind.config.js
module.exports = {
  // ...
  plugins: [require("@neupauer/tailwindcss-plugin-aspect-ratio")],
};

Configuration

By default, some common aspect ratios are provided, but you can override or extend them with the aspectRatio key in your tailwind.config.js file.

// tailwind.config.js
module.exports = {
  theme: {
    // default
    aspectRatio: {
      // Square
      "1:1": 1,
      // Landscape
      "2:1": 2 / 1,
      "3:1": 3 / 1,
      "3:2": 3 / 2,
      "4:1": 4 / 1,
      "4:3": 4 / 3,
      "5:4": 5 / 4,
      "16:9": 16 / 9,
      "16:10": 16 / 10,
      "19:10": 19 / 10,
      "21:9": 21 / 9,
      // Portrait
      "1:2": 1 / 2,
      "1:3": 1 / 3,
      "2:3": 2 / 3,
      "1:4": 1 / 4,
      "3:4": 3 / 4,
      "4:5": 4 / 5,
      "9:16": 9 / 16,
      "10:16": 10 / 16,
      "10:19": 10 / 19,
      "9:21": 9 / 21,
    },
  },
  variants: {
    // default
    aspectRatio: ["responsive"],
  },
};

Usage

The target element can only contain one child, the others will be hidden. If you need to add more child, wrap them within another element e.g., <div>

<div class="aspect-ratio-16:9">
  <img src="image.jpg" class="object-cover" />
</div>

<div class="aspect-ratio-16:9">
  <div class="text-white bg-blue-500">Aspect Ratio</div>
</div>
<!-- OK -->
<div class="aspect-ratio-16:9">
  <div>
    <p>Aspect</p>
    <p>Ratio</p>
  </div>
</div>

<!-- NOOK -->
<div class="aspect-ratio-16:9">
  <img src="image1.jpg" class="object-cover" />
  <!-- visible-->
  <img src="image2.jpg" class="object-cover" />
  <!-- hidden-->
  <img src="image3.jpg" class="object-cover" />
  <!-- hidden-->
</div>
Min-Aspect Ratio
<div class="min-aspect-ratio-16:9">
  <p>Aspect Ratio</p>
</div>

<div class="min-aspect-ratio-16:9">
  <p>
    Aspect Ratio. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
    Eius ullam iste distinctio nobis ipsum soluta dolorem esse omnis! Architecto
    impedit odio magni non repudiandae vitae veniam id dolorum sint eum. Lorem
    ipsum dolor sit amet, consectetur adipisicing elit. Eius ullam iste
    distinctio nobis ipsum soluta dolorem esse omnis! Architecto impedit odio
    magni non repudiandae vitae veniam id dolorum sint eum.
  </p>
</div>

Description from the npm listing.

  • tailwind
  • tailwindcss
  • plugin
  • tailwindcss-plugin
  • aspect-ratio

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

@neupauer/tailwindcss-plugin-aspect-ratio weekly downloads on npm, last 90 days: 17 weekly downloads as of Dec 5, 2026, +113% over 90 days.@neupauer/tailwindcss-plugin-aspect-ra…Weekly downloads on npm · Last 90 days17downloads / week+113% over 90 days05101520Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@neupauer/tailwindcss-plugin-aspect-ratio weekly downloads on npm, last 90 days: 17 weekly downloads as of Dec 5, 2026, +113% over 90 days.

7/30/90-day growth

@neupauer/tailwindcss-plugin-aspect-ratio weekly downloads growth on npm: +113% over 7 days, +240% over 30 days, +113% over 90 days.@neupauer/tailwindcss-plugin-aspect-ra…Weekly downloads growth on npm17downloads / week now7-day growth+9 weekly downloads+113%30-day growth+12 weekly downloads+240%90-day growth+9 weekly downloads+113%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@neupauer/tailwindcss-plugin-aspect-ratio weekly downloads growth on npm: +113% over 7 days, +240% over 30 days, +113% over 90 days.

Ranking history

@neupauer/tailwindcss-plugin-aspect-ratio npm ranking history: currently #3027 (by weekly downloads).@neupauer/tailwindcss-plugin-aspect-ra…npm ranking · by weekly downloads · Last 90 days#3027current rank#500#1000#1500#2000#2500#3000#3500Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@neupauer/tailwindcss-plugin-aspect-ratio npm ranking history: currently #3027 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 152, #9 (overall #3,029)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins292 listings · 15 pages · page 10, #20 (overall #200)
Tailwind plugins: every listing in weekly downloads order

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)
Recent weekly downloads observations for @neupauer/tailwindcss-plugin-aspect-ratio
Date (UTC)Weekly downloadsChange vs. previous
17+1
16-2
180
18+8
10-1
11+3
80
80
8-3
110
11+1
10+2
8+1
7—

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/@neupauer/tailwindcss-plugin-aspect-ratio. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.