Skip to content
PluginStats

tailwindcss-safe-area weekly downloads statistics

By mvllow · npm · Tailwind plugins

Tailwind CSS safe area helpers

View on npm Fresh · Dec 6, 2026

tailwindcss-safe-area has 599,025 recorded weekly downloads on npm, an increase of 8.4% over the past 30 days, ranking #351 of 3,247 tracked listings.

Weekly downloads
599,025
Official API · Dec 5, 2026
7-day growth
+19.8%
+99K weekly downloads
30-day growth
+8.4%
+46.3K weekly downloads
90-day growth
+106%
+308.2K weekly downloads
Rank
#351
▲ 34 in 7 days

About tailwindcss-safe-area

tailwindcss-safe-area

Tailwind CSS utilities for safe areas.

Features

  • Responsive safe area utilities tailored for margin, padding, height and position
  • Flexible spacing helpers using offset and or variants that adapt to safe areas
  • Modern CSS support including logical properties and scroll snap

Getting started

For Tailwind CSS v4
npm install tailwindcss-safe-area

Import the CSS plugin directly in your main CSS file:

@import "tailwindcss";
@import "tailwindcss-safe-area";

Note: we use @import above rather than @plugin

For Tailwind CSS v3
# Latest version with v3 support
npm install tailwindcss-safe-area@0.8.0

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

// tailwind.config.js
module.exports = {
	theme: {},
	plugins: [require("tailwindcss-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.

Available utilities

Margin and padding
  • m-safe, mx-safe, my-safe, ms-safe, me-safe
  • mt-safe, mr-safe, mb-safe, ml-safe
  • p-safe, px-safe, py-safe, ps-safe, pe-safe
  • pt-safe, pr-safe, pb-safe, pl-safe

With variants:

  • Add -offset-{value} for additional spacing (e.g. pt-safe-offset-4)
  • Add -or-{value} for minimum values (e.g. pb-safe-or-8)
Scroll margin and padding

Same as margin/padding utilities, prefixed with scroll-:

  • scroll-m-safe, scroll-mx-safe, scroll-my-safe, etc.
  • scroll-p-safe, scroll-px-safe, scroll-py-safe, etc.
Height

Screen utilities:

  • h-screen-safe, min-h-screen-safe, max-h-screen-safe

Viewport utilities:

  • h-vh-safe, h-dvh-safe, h-svh-safe, h-lvh-safe
  • min-h-vh-safe, min-h-dvh-safe, min-h-svh-safe, min-h-lvh-safe
  • max-h-vh-safe, max-h-dvh-safe, max-h-svh-safe, max-h-lvh-safe

-webkit-fill-available utilities:

  • h-fill-safe, min-h-fill-safe, max-h-fill-safe
Position
  • inset-safe, inset-x-safe, inset-y-safe
  • start-safe, end-safe
  • top-safe, right-safe, bottom-safe, left-safe

With variants:

  • Add -offset-{value} for additional spacing (e.g., top-safe-offset-4)
  • Add -or-{value} for minimum values (e.g., inset-safe-or-8)
Border
  • border-safe, border-x-safe, border-y-safe
  • border-s-safe, border-e-safe
  • border-t-safe, border-r-safe, border-b-safe, border-l-safe

With variants:

  • Add -offset-{value} for additional spacing (e.g., border-t-safe-offset-4)
  • Add -or-{value} for minimum values (e.g., border-safe-or-8)
Enable/disable safe area
  • safe, safe-x, safe-y
  • safe-t, safe-r, safe-b, safe-l
  • safe-none, safe-x-none, safe-y-none
  • safe-t-none, safe-r-none, safe-b-none, safe-l-none

Description from the npm listing.

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

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

7/30/90-day growth

tailwindcss-safe-area weekly downloads growth on npm: +19.8% over 7 days, +8.4% over 30 days, +106% over 90 days.tailwindcss-safe-areaWeekly downloads growth on npm599,025downloads / week now7-day growth+99,043 weekly downloads+19.8%30-day growth+46,281 weekly downloads+8.4%90-day growth+308,162 weekly downloads+106%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
tailwindcss-safe-area weekly downloads growth on npm: +19.8% over 7 days, +8.4% over 30 days, +106% over 90 days.

Ranking history

tailwindcss-safe-area npm ranking history: currently #351 (by weekly downloads).tailwindcss-safe-areanpm ranking · by weekly downloads · Last 90 days#351current rank#340#350#360#370#380#390#400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
tailwindcss-safe-area npm ranking history: currently #351 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 18, #11 (overall #351)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins292 listings · 15 pages · page 1, #1 (overall #1)
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-safe-area
Date (UTC)Weekly downloadsChange vs. previous
599,025+15.3K
583,699+13.3K
570,434+28.6K
541,827+13.9K
527,911+17.7K
510,208+9.7K
500,553+571
499,982-1.5K
501,486-9.5K
511,033-13.2K
524,265-4K
528,238+1.3K
526,972+415
526,557—

Similar npm Tailwind plugins plugins

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