tailwind-rounded-out weekly downloads statistics
By simeydotme · npm · Tailwind plugins
Tailwind CSS plugin for outer-rounded corners (like tabs) with css mask
tailwind-rounded-out has 1,297 recorded weekly downloads on npm, a decrease of 87.4% over the past 30 days, ranking #2008 of 3,247 tracked listings.
About tailwind-rounded-out
Tailwind Rounded Out (v2)
A Tailwind CSS plugin that adds "outside" rounded corners to elements, updated to work with TailwindCSS v4.
<small>Similar to folder tabs or protruding cards. The plugin maintains background color/image inheritance while providing a wide range of customization options.</small>
<div align="center"> <img src="public/images/readme-example.png" alt="Demo of the plugin"> </div>Features
- 🖼 Maintains background inheritance (colors, gradients, images)
- 🔀 Supports all corners and sides independently
- 🟣 Works with Tailwind's default radius sizes
- 🎨 Supports arbitrary values
- 📦 Zero dependencies besides Tailwind CSS
Installation
npm install tailwind-rounded-out
If you're looking for a version that works with TailwindCSS v3, check out the
1.0.1branch. You can install that withnpm install tailwind-rounded-out@1.0.1.
Setup
Import the plugin in your tailwind css file:
@import "tailwindcss";
@import "tailwind-rounded-out";
<sub>note: The plugin uses your --radius-* theme variables to determine the default literal sizes for each corner.</sub>
Basic Usage
<!-- All corners -->
<div class="rounded-out-lg">
Basic card with large outer corners
</div>
<!-- Specific sides -->
<div class="rounded-out-b-xl">
Bottom corners only
</div>
<!-- Individual corners -->
<div class="rounded-out-bl-2xl">
Just bottom-left corner
</div>
<!-- Mixed sizes -->
<div class="rounded-out-bl-xl rounded-out-br-sm">
Different sizes for bottom-left and bottom-right
</div>
<!-- Arbitrary values -->
<div class="rounded-out-[25px]">
Custom radius size
</div>
See the demo page for a bunch more examples!
Available Classes
Basic outside Rounding
rounded-out-{size}- Sizes:
sm,md,lg,xl,2xl,3xl
- Sizes:
Directional Variants
rounded-out-{t|b|l|r}-{size}- Top, Bottom, Left, Rightrounded-out-{tl|tr|bl|br}-{size}- Top-Left, Top-Right, etc.rounded-out-{lt|lb|rt|rb}-{size}- Left-Top, Left-Bottom, etc.
Arbitrary Values
rounded-out-{size}- e.g.rounded-out-[25px]rounded-out-{direction}-{size}- e.g.rounded-out-t-[25px]
How It Works
This plugin uses CSS ::before and ::after pseudo-elements to create the rounded corner effect with a CSS Mask, and so it can let the real background show through. The pseudo-elements are positioned absolutely and use CSS masks to create the rounded shape so there's no need for a fake background color.
Important Notes
-
Pseudo-element Usage: Because this plugin uses
::beforeand::afterpseudo-elements, you cannot apply additional::beforeor::afterstyles to elements using these classes. You can, however, use:hover,:focus, etc to toggle the corners on and off. -
Position Context: Elements using these classes should have
position: relativeor any other position that creates a containing block. -
Background Inheritance: The rounded corners will automatically inherit background colors, images, and gradients from the parent element.
Examples
Tab-like Navigation
<nav class="flex gap-px text-slate-600">
<a class="relative rounded-out-b-xl bg-blue-300 px-4 py-2 rounded-t-xl">
Inactive Tab
</a>
<a class="relative rounded-out-b-xl bg-blue-500 px-4 py-2 rounded-t-xl z-10 text-slate-200">
Active Tab
</a>
</nav>
Produces;
<img src="public/images/tab-like-nav.png" alt="Tab-like navigation">Card with Diagonal Gradient Corners
<div class="relative min-h-[200px] rounded-out-tl-2xl rounded-out-br-2xl bg-gradient-to-br from-blue-500 to-purple-500 p-8 rounded-tr-xl rounded-bl-xl before:bg-blue-500 before:bg-none after:bg-purple-500 after:bg-none">
Card with diagonal gradient corners
</div>
Produces;
<img src="public/images/mixed-corners.png" alt="Card with diagonal gradient corners">Troubleshooting
Common Issues
-
Backgrounds Not Showing
- Ensure the parent element has a background color/image set
- The element this is applied to needs to have
position: relativeor any other position that creates a containing block
-
Conflicts with Other Styles
- Remove any ::before or ::after pseudo-elements on the same element
- Check z-index values if elements appear in wrong order
-
Overflow notes
- The corners are outside of the bounding box
- Setting an overflow hidden will prevent the pseudo-elements from showing
License
MIT License - See LICENSE file for details
More Examples
Visit the demo page for more examples.
Backgrounds are able to show through, no fake backgrounds.
<img src="public/images/readme-example2.png" alt="Demo of the plugin">A range of corner variations
<img src="public/images/readme-example3.png" alt="Demo of the plugin">Description from the npm listing.
- tailwind
- tailwindcss
- tailwind-css
- tailwindcss-plugin
- plugin
- rounded
- border-radius
- outer-radius
- tabs
- mask
- inverted
- 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
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 (592)Similar npm Tailwind plugins plugins
All 20 tailwind-rounded-out 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/tailwind-rounded-out. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.