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 · Oct 18, 2026

tailwindcss-capacitor-safe-area has 4 recorded weekly downloads on npm, a decrease of 33.3% over the past 30 days, ranking #2225 of 2,322 tracked listings.

Weekly downloads
4
Official API · Oct 18, 2026
7-day growth
0.0%
0 weekly downloads
30-day growth
-33.3%
-2 weekly downloads
90-day growth
+300%
+3 weekly downloads
Rank
#2225
Among tracked npm listings

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: 4 weekly downloads as of Oct 18, 2026, +300% over 90 days.tailwindcss-capacitor-safe-areaWeekly downloads on npm · Last 90 days4downloads / week+300% over 90 days024681012Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
tailwindcss-capacitor-safe-area weekly downloads on npm, last 90 days: 4 weekly downloads as of Oct 18, 2026, +300% over 90 days.

7/30/90-day growth

tailwindcss-capacitor-safe-area weekly downloads growth on npm: 0.0% over 7 days, -33.3% over 30 days, +300% over 90 days.tailwindcss-capacitor-safe-areaWeekly downloads growth on npm4downloads / week now7-day growth+0 weekly downloads0.0%30-day growth-2 weekly downloads-33.3%90-day growth+3 weekly downloads+300%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
tailwindcss-capacitor-safe-area weekly downloads growth on npm: 0.0% over 7 days, -33.3% over 30 days, +300% over 90 days.

Ranking history

tailwindcss-capacitor-safe-area npm ranking history: currently #2225 (by weekly downloads).tailwindcss-capacitor-safe-areanpm ranking · by weekly downloads · Last 90 days#2225current rank#2120#2140#2160#2180#2200#2220#2240Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
tailwindcss-capacitor-safe-area npm ranking history: currently #2225 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 112, #9 (overall #2,229)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins252 listings · 13 pages · page 13, #3 (overall #243)
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 (122)
Recent weekly downloads observations for tailwindcss-capacitor-safe-area
Date (UTC)Weekly downloadsChange vs. previous
4+1
30
3+1
2-3
50
50
5+1
4+1
3-2
5-2
7+3
40
40
4—

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 Oct 20, 2026. See the methodology.