Skip to content
PluginStats

tailwindcss-capacitor-safe-area weekly downloads statistics

By HyperLife1119 · npm · Tailwind plugins

Tailwind CSS Capacitor safe area helpers

View on npm Fresh · Dec 6, 2026

tailwindcss-capacitor-safe-area has 11 recorded weekly downloads on npm, an increase of 120% over the past 30 days, ranking #3125 of 3,247 tracked listings.

Weekly downloads
11
Official API · Dec 5, 2026
7-day growth
-8.3%
-1 weekly downloads
30-day growth
+120%
+6 weekly downloads
90-day growth
+1000%
+10 weekly downloads
Rank
#3125
▼ 198 in 7 days

About tailwindcss-capacitor-safe-area

tailwindcss-capacitor-safe-area

Tailwind CSS utilities for Capacitor safe areas.

Features

  • Responsive safe area utilities tailored for margin, padding, height and position
  • Flexible spacing helpers to extend safe areas or ensure content remains unobstructed with offset and minimum value variants
  • Modern CSS support, including inline-start, inline-end, scroll-margin, scroll-padding and more to handle modern layouts

Getting started

npm install tailwindcss-capacitor-safe-area

Then add the plugin to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
	theme: {},
	plugins: [require("tailwindcss-capacitor-safe-area")],
};

Usage

To extend content behind the safe area, add or append viewport-fit=cover to your viewport meta tag:

<meta
	name="viewport"
	content="width=device-width, initial-scale=1, viewport-fit=cover"
/>
Base utilities

Handle safe area margin, padding, height and position.

<header class="pt-safe">...</header>
<main class="px-safe">...</main>
<footer class="pb-safe">...</footer>
Offset utilities

Extend base utilities with an additional offset.

<div class="pr-safe-offset-4">...</div>

This adds right padding equal to the safe area plus 4.

Or utilities

Apply a minimum value while respecting the safe area.

<div class="pb-safe-or-8">...</div>

This adds bottom padding equal to the larger of the safe area or 8.

Generated styles

Margin
.m-safe {
	margin-top: var(--ion-safe-area-top);
	margin-right: var(--ion-safe-area-right);
	margin-bottom: var(--ion-safe-area-bottom);
	margin-left: var(--ion-safe-area-left);
}
.mx-safe {
	margin-right: var(--ion-safe-area-right);
	margin-left: var(--ion-safe-area-left);
}
.my-safe {
	margin-top: var(--ion-safe-area-top);
	margin-bottom: var(--ion-safe-area-bottom);
}
.ms-safe {
	margin-inline-start: var(--ion-safe-area-left);
}
.me-safe {
	margin-inline-end: var(--ion-safe-area-left);
}
.mt-safe {
	margin-top: var(--ion-safe-area-top);
}
.mr-safe {
	margin-right: var(--ion-safe-area-right);
}
.mb-safe {
	margin-bottom: var(--ion-safe-area-bottom);
}
.ml-safe {
	margin-left: var(--ion-safe-area-left);
}
Scroll margin

Same as margin, prefixed with scroll-.

Padding
.p-safe {
	padding-top: var(--ion-safe-area-top);
	padding-right: var(--ion-safe-area-right);
	padding-bottom: var(--ion-safe-area-bottom);
	padding-left: var(--ion-safe-area-left);
}
.px-safe {
	padding-right: var(--ion-safe-area-right);
	padding-left: var(--ion-safe-area-left);
}
.py-safe {
	padding-top: var(--ion-safe-area-top);
	padding-bottom: var(--ion-safe-area-bottom);
}
.ps-safe {
	padding-inline-start: var(--ion-safe-area-left);
}
.pe-safe {
	padding-inline-end: var(--ion-safe-area-left);
}
.pt-safe {
	padding-top: var(--ion-safe-area-top);
}
.pr-safe {
	padding-right: var(--ion-safe-area-right);
}
.pb-safe {
	padding-bottom: var(--ion-safe-area-bottom);
}
.pl-safe {
	padding-left: var(--ion-safe-area-left);
}
Scroll padding

Same as padding, prefixed with scroll-.

Height

Screen height, using -webkit-fill-available on Safari:

.min-h-screen-safe {
	min-height: calc(
		100vh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
	min-height: -webkit-fill-available;
}
.max-h-screen-safe {
	max-height: calc(
		100vh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
	max-height: -webkit-fill-available;
}
.h-screen-safe {
	height: calc(
		100vh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
	height: -webkit-fill-available;
}
.min-h-fill-safe {
	min-height: -webkit-fill-available;
}
.max-h-fill-safe {
	max-height: -webkit-fill-available;
}
.h-fill-safe {
	height: -webkit-fill-available;
}
/* vh */

.min-h-vh-safe {
	min-height: calc(
		100vh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}
.max-h-vh-safe {
	max-height: calc(
		100vh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}
.h-vh-safe {
	height: calc(
		100vh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}

/* dvh */

.min-h-dvh-safe {
	min-height: calc(
		100dvh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}
.max-h-dvh-safe {
	max-height: calc(
		100dvh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}
.h-dvh-safe {
	height: calc(
		100dvh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}

/* svh */

.min-h-svh-safe {
	min-height: calc(
		100svh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}
.max-h-svh-safe {
	max-height: calc(
		100svh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}
.h-svh-safe {
	height: calc(
		100svh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}

/* lvh */

.min-h-lvh-safe {
	min-height: calc(
		100lvh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}
.max-h-lvh-safe {
	max-height: calc(
		100lvh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}
.h-lvh-safe {
	height: calc(
		100lvh - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom))
	);
}
Position
.inset-safe: {
	top: var(--ion-safe-area-top);
	right: var(--ion-safe-area-right);
	bottom: var(--ion-safe-area-bottom);
	left: var(--ion-safe-area-left);
}
.inset-x-safe: {
	right: var(--ion-safe-area-right);
	left: var(--ion-safe-area-left);
}
.inset-y-safe: {
	top: var(--ion-safe-area-top);
	bottom: var(--ion-safe-area-bottom);
}
.start-safe: {
	inset-inline-start: var(--ion-safe-area-left);
}
.end-safe: {
	inset-inline-end: var(--ion-safe-area-left);
}
.top-safe: {
	top: var(--ion-safe-area-top);
}
.right-safe: {
	right: var(--ion-safe-area-right);
}
.bottom-safe: {
	bottom: var(--ion-safe-area-bottom);
}
.left-safe: {
	left: var(--ion-safe-area-left);
}
Variants…

Description from the npm listing.

  • capacitor-safe-area
  • tailwindcss
  • tailwindcss-plugin
  • safe-area-inset
  • pwa
  • margin
  • padding

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-capacitor-safe-area weekly downloads on npm, last 90 days: 11 weekly downloads as of Dec 5, 2026, +1000% over 90 days.tailwindcss-capacitor-safe-areaWeekly downloads on npm · Last 90 days11downloads / week+1000% over 90 days01020304050Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
tailwindcss-capacitor-safe-area weekly downloads on npm, last 90 days: 11 weekly downloads as of Dec 5, 2026, +1000% over 90 days.

7/30/90-day growth

tailwindcss-capacitor-safe-area weekly downloads growth on npm: -8.3% over 7 days, +120% over 30 days, +1000% over 90 days.tailwindcss-capacitor-safe-areaWeekly downloads growth on npm11downloads / week now7-day growth-1 weekly downloads-8.3%30-day growth+6 weekly downloads+120%90-day growth+10 weekly downloads+1000%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
tailwindcss-capacitor-safe-area weekly downloads growth on npm: -8.3% over 7 days, +120% over 30 days, +1000% over 90 days.

Ranking history

tailwindcss-capacitor-safe-area npm ranking history: currently #3125 (by weekly downloads).tailwindcss-capacitor-safe-areanpm ranking · by weekly downloads · Last 90 days#3125current rank#1800#2000#2200#2400#2600#2800#3000#3200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 41 observations · Updated Dec 5, 2026pluginstats.com
tailwindcss-capacitor-safe-area npm ranking history: currently #3125 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 157, #7 (overall #3,127)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins292 listings · 15 pages · page 13, #4 (overall #244)
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 (170)
Recent weekly downloads observations for tailwindcss-capacitor-safe-area
Date (UTC)Weekly downloadsChange vs. previous
110
11+1
10+6
40
4+1
30
3-9
12-10
22-10
32-15
47+1
460
46+1
45—

Similar npm Tailwind plugins plugins

All 20 tailwindcss-capacitor-safe-area 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-capacitor-safe-area. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.