tailwindcss-percent-utils weekly downloads statistics
By SnehMoradia (2 listings) · npm · Tailwind plugins
Tailwind CSS plugin for percentage-based sizing, spacing, positioning, and flex utilities without square bracket syntax.
tailwindcss-percent-utils has 6 recorded weekly downloads on npm, a decrease of 77.8% over the past 30 days, ranking #2145 of 2,322 tracked listings.
About tailwindcss-percent-utils
📐 tailwindcss-percent-utils
A Tailwind CSS plugin that adds intuitive percentage utilities for sizing, spacing, positioning, and flex layouts—without arbitrary value syntax ([]).
✅ Tailwind CSS v3 & v4 • 🚀 Zero Configuration • 📏 Built-in Percentage Scale
</div>✨ Why?
Tailwind CSS supports percentage values using arbitrary values:
<div class="w-[37%]"></div>
With tailwindcss-percent-utils, write cleaner and more consistent utilities:
<div class="w-pr-37"></div>
No square brackets.
Better readability.
Cleaner autocomplete.
Works seamlessly with Tailwind CSS.
✨ Features
- 📏 Percentage utilities from 0% to 1000%
- 📦 Width, Height, Min/Max Size
- 📐 Padding & Margin utilities
- 📍 Position utilities
- 💪 Flex Basis, Grow & Shrink utilities
- ➖ Native negative support for margins and positioning
- ⚡ Zero configuration
- ✅ Tailwind CSS v3 & v4 compatible
- 🚀 Works with all frameworks that use Tailwind CSS
🌍 Works With
- HTML
- React
- Next.js
- Vue
- Nuxt
- Angular
- Svelte
- Astro
- Laravel
- WordPress
- Remix
- SolidJS
- Qwik
- Any Tailwind CSS project
📦 Installation
npm
npm install tailwindcss-percent-utils
pnpm
pnpm add tailwindcss-percent-utils
yarn
yarn add tailwindcss-percent-utils
🚀 Setup
Tailwind CSS v4
@import "tailwindcss";
@plugin "tailwindcss-percent-utils";
Tailwind CSS v3
module.exports = {
plugins: [
require("tailwindcss-percent-utils"),
],
};
📐 Examples
Width & Height
<div class="w-pr-80 h-pr-60"></div>
Compiles to
width: 80%;
height: 60%;
Padding
<div class="p-pr-10 px-pr-5"></div>
Margin
<div class="-mt-pr-10 ml-pr-20"></div>
Position
<div class="absolute -top-pr-20 left-pr-50"></div>
Flexbox
<div class="basis-pr-50 grow-pr-80 shrink-pr-20"></div>
Compiles to
flex-basis: 50%;
flex-grow: 0.8;
flex-shrink: 0.2;
Responsive
<div class="w-pr-100 md:w-pr-75 lg:w-pr-50"></div>
Variants
<div class="hover:w-pr-75 focus:h-pr-50"></div>
🛠 Supported Utilities
| Utility | CSS Property |
|---|---|
w-pr-* | width |
h-pr-* | height |
min-w-pr-* | min-width |
min-h-pr-* | min-height |
max-w-pr-* | max-width |
max-h-pr-* | max-height |
p-pr-* | padding |
px-pr-* | padding-inline |
py-pr-* | padding-block |
pt-pr-* | padding-top |
pr-pr-* | padding-right |
pb-pr-* | padding-bottom |
pl-pr-* | padding-left |
m-pr-* | margin |
mx-pr-* | margin-inline |
my-pr-* | margin-block |
mt-pr-* | margin-top |
mr-pr-* | margin-right |
mb-pr-* | margin-bottom |
ml-pr-* | margin-left |
top-pr-* | top |
right-pr-* | right |
bottom-pr-* | bottom |
left-pr-* | left |
basis-pr-* | flex-basis |
grow-pr-* | flex-grow |
shrink-pr-* | flex-shrink |
Negative values are supported for:
- Margin
- Top
- Right
- Bottom
- Left
📊 Value Scale
Percentage Utilities
0 → 1000
Examples
w-pr-25 → 25%
w-pr-50 → 50%
w-pr-100 → 100%
w-pr-250 → 250%
w-pr-1000 → 1000%
Flex Grow / Shrink
grow-pr-80 → 0.8
grow-pr-100 → 1
grow-pr-250 → 2.5
grow-pr-1000 → 10
🤝 Contributing
Contributions, bug reports, and feature requests are welcome.
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a Pull Request
📄 License
Licensed under the MIT License.
<div align="center">
Made with ❤️ by Sneh Moradia
⭐ If this project helps you, please consider giving it a star.
</div>Description from the npm listing.
- tailwindcss
- tailwind
- tailwindcss-plugin
- tailwind-plugin
- css
- utility
- utilities
- percentage
- percent
- width
- height
- spacing
- padding
- margin
- position
- layout
- flexbox
- flex-grow
- flex-shrink
- flex-basis
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm Tailwind plugins plugins
All 20 tailwindcss-percent-utils alternativesData 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-percent-utils. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.