tailwindcss-safe-area weekly downloads statistics
By mvllow · npm · Tailwind plugins
Tailwind CSS safe area helpers
tailwindcss-safe-area has 226,458 recorded weekly downloads on npm, a decrease of 19.2% over the past 30 days.
It ranks #364 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -18.3%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
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
Import the CSS plugin directly in your main CSS file:
_Note: we use @import above rather than @plugin_
For Tailwind CSS v3
Then add the plugin to your tailwind.config.js file:
Usage
To extend content behind the safe area, add or append viewport-fit=cover to your viewport meta tag:
Base utilities
Handle safe area margin, padding, height and position:
Offset utilities
Extend base utilities with an additional offset:
This adds right padding equal to the safe area plus 4.
Or utilities
Apply a minimum value while respecting the safe area:
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
Where tailwindcss-safe-area sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (121)Similar npm Tailwind plugins plugins
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 Oct 18, 2026. See the methodology.