Skip to content
PluginStats

tailwindcss-viewport-spacing weekly downloads statistics

By gunubin · npm · Tailwind plugins

Tailwind CSS Viewport Spacing is a plugin that allows you to adjust the following utility classes based on viewport width (vw) and viewport height (vh):

View on npm Stale · Oct 17, 2026

tailwindcss-viewport-spacing has 5 recorded weekly downloads on npm, a decrease of 66.7% over the past 30 days, ranking #2038 of 2,306 tracked listings.

Weekly downloads
5
Official API · Oct 17, 2026
7-day growth
+150%
+3 weekly downloads
30-day growth
-66.7%
-10 weekly downloads
90-day growth
+150%
+3 weekly downloads
Rank
#2038
Among tracked npm listings

About tailwindcss-viewport-spacing

Tailwind CSS Viewport Spacing

Tailwind CSS Viewport Spacing is a plugin that allows you to adjust the following utility classes based on viewport width (vw) and viewport height (vh):

• Padding (e.g., p, px, py, pt, pr, pb, pl) • Margin (e.g., m, mx, my, mt, mr, mb, ml) • Position (e.g., top, right, bottom, left) • Width (e.g., w) • Height (e.g., h) • Max-width (e.g., max-w) • Max-height (e.g., max-h) • Min-width (e.g., min-w) • Min-height (e.g., min-h) • Font-size (e.g., text) • Inset-inline-start (e.g., start) • Inset-inline-end (e.g., end) • Inset (e.g., inset)

Installation

Install the package using npm:

or using yarn:

Usage

  1. Import the plugin in your tailwind.config.js file:

  2. Add the plugin to your tailwind.config.js plugins section and configure the options:

  3. Use the generated utility classes in your HTML:

In this example, the p-vw-phone-[100] class will apply a padding of 100px when the viewport width is 375px, and the h-vh-phone-[100] class will apply a height of 100px when the viewport height is 667px.

Supported CSS Properties

• Padding: Apply viewport-based padding to elements. • Margin: Apply viewport-based margin to elements. • Position: Adjust the position of elements based on viewport width. • Width: Control the width of elements based on viewport width. • Height: Control the height of elements based on viewport width. • Max-width: Set the maximum width of elements based on viewport width. • Max-height: Set the maximum height of elements based on viewport width. • Min-width: Set the minimum width of elements based on viewport width. • Min-height: Set the minimum height of elements based on viewport width. • Font-size: Adjust the font size of text elements based on viewport width. • Inset-inline-start: Control the start inset of positioned elements based on viewport width. • Inset-inline-end: Control the end inset of positioned elements based on viewport width. • Inset: Control the inset of positioned elements based on viewport width.

License

MIT License

Description from the npm listing.

  • tailwind
  • tailwindcss
  • tailwindcss-plugin
  • tailwindcss-utilities
  • plugin
  • utilities
  • viewport
  • spacing

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

tailwindcss-viewport-spacing weekly downloads on npm, last 90 days: 5 weekly downloads as of Oct 17, 2026, +150% over 90 days.tailwindcss-viewport-spacingWeekly downloads on npm · Last 90 days5downloads / week+150% over 90 days0510152025303540Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
tailwindcss-viewport-spacing weekly downloads on npm, last 90 days: 5 weekly downloads as of Oct 17, 2026, +150% over 90 days.

7/30/90-day growth

tailwindcss-viewport-spacing weekly downloads growth on npm: +150% over 7 days, -66.7% over 30 days, +150% over 90 days.tailwindcss-viewport-spacingWeekly downloads growth on npm5downloads / week now7-day growth+3 weekly downloads+150%30-day growth-10 weekly downloads-66.7%90-day growth+3 weekly downloads+150%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
tailwindcss-viewport-spacing weekly downloads growth on npm: +150% over 7 days, -66.7% over 30 days, +150% over 90 days.

Ranking history

tailwindcss-viewport-spacing npm ranking history: currently #2038 (by weekly downloads).tailwindcss-viewport-spacingnpm ranking · by weekly downloads · Last 90 days#2038current rank#600#800#1000#1200#1400#1600#1800#2000#2200Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 17, 2026 – Oct 19, 2026 · 3 observations · Updated Oct 17, 2026pluginstats.com
tailwindcss-viewport-spacing npm ranking history: currently #2038 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,129 shown · page 102, #19 (overall #2,039)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins252 listings · 13 pages · page 10, #1 (overall #181)
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 (543)
Recent weekly downloads observations for tailwindcss-viewport-spacing
Date (UTC)Weekly downloadsChange vs. previous
50
5+1
40
40
40
40
4+2
20
2-2
4-1
50
50
5+2
3—

Similar npm Tailwind plugins plugins

All 20 tailwindcss-viewport-spacing alternatives

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-viewport-spacing. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.