Skip to content
PluginStats

tailwindcss-squircles weekly downloads statistics

By jespervos · npm · Tailwind plugins

Tailwind CSS v4 plugin that turns every rounded-* utility into a compensated squircle with CSS corner-shape as a seamless progressive enhancement.

View on npm Stale · Oct 18, 2026

tailwindcss-squircles has 82 recorded weekly downloads on npm.

Weekly downloads
82
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
—
Among tracked npm listings

About tailwindcss-squircles

tailwindcss-squircles

A Tailwind CSS v4 plugin that progressively enhances rounded corners with squircles with the CSS corner-shape property.

Adding corner-shape: squircle on its own makes every corner noticeably sharper, because a squircle cuts less deeply into the corner than a circle with the same radius. This plugin multiplies the radius by the exact amount that evens it out (about 1.841 for a squircle).

Read my article on Squircles for a deeper look into the math and logic behind this plugin.

Install

pnpm add -D tailwindcss-squircles
# or: npm install -D tailwindcss-squircles

Requires Tailwind CSS v4.

@import "tailwindcss";
@plugin "tailwindcss-squircles";

What it does

Next to Tailwind's own definition, each rounded-* class gets two extra rules. One multiplies the radius inside @supports (corner-shape: squircle), the other sets the shape.

.rounded-xl {
  border-radius: var(--radius-xl);
}

@supports (corner-shape: squircle) {
  .rounded-xl {
    border-radius: calc(var(--radius-xl) * var(--corner-factor));
  }
}

.rounded-xl {
  corner-shape: var(--corner-shape, squircle);
}
  • Theme values, arbitrary values, (--variables) and every side are covered, including the logical ones like rounded-es-*. Each side sets the matching corner-*-shape property.
  • Compensated radii read var(--radius-*), so overriding a radius token still works.
  • rounded-full and percentage radii like rounded-[50%] stay round. A pill must stay a pill.
  • Radii with several values, like rounded-[10px_20px] or rounded-[10px_20px/5px], are multiplied part by part.
  • Values with nothing to multiply, such as rounded-[inherit], keep Tailwind's own output.
  • Side classes keep Tailwind's order, so rounded-lg rounded-t-full still ends with round top corners.

Changing the shape

Use the corner-* utilities next to a rounded-* class to change the shape of a single element. They change the curve and the compensation together.

<div class="corner-round rounded-lg"></div>
<div class="corner-bevel rounded-lg"></div>
<div class="corner-superellipse-1.5 rounded-lg"></div>
ClassShapeRadius multiplier
corner-roundround1
corner-squirclesquircle~1.841
corner-bevelbevel~0.586
corner-scoopscoop1
corner-notchnotch1
corner-squaresquare1
corner-superellipse-<k>superellipse(<k>)exact for <k>

corner-superellipse-<k> accepts any number, negative ones included. scoop, notch and square have no corner depth to match, so the radius stays as written.

The shape and multiplier are set per element and don't inherit, so corner-round on a parent never leaks into its rounded children. In browsers without corner-shape support these classes do nothing.

How the multiplier works

For superellipse(k), the plugin multiplies the radius by

calc((1 - pow(2, -0.5)) / (1 - pow(2, -1 / pow(2, k))))

That is how far the circle's diagonal point sits from the corner, divided by the same distance on the curve. round is superellipse(1), so its multiplier is 1. A squircle is superellipse(2) (about 1.841) and a bevel is superellipse(0) (about 0.586).

Browser support

Browsercorner-shape
Chrome / EdgeShipped in 139 (August 2025)
SafariIn Safari Technology Preview 251 (August 2026), not yet in a stable release

Check MDN for the current state.

License

MIT © Jesper Vos

Description from the npm listing.

  • tailwindcss
  • tailwindcss-plugin
  • tailwind
  • squircle
  • superellipse
  • corner-shape
  • border-radius
  • progressive-enhancement

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-squircles weekly downloads on npm, last 90 days: 82 weekly downloads as of Oct 18, 2026.tailwindcss-squirclesWeekly downloads on npm · Last 90 days82downloads / week7274767880828486889092Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 18, 2026pluginstats.com
tailwindcss-squircles weekly downloads on npm, last 90 days: 82 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

tailwindcss-squircles weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.tailwindcss-squirclesWeekly downloads growth on npm82downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
tailwindcss-squircles weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

tailwindcss-squircles has no ranking history on npm yet.tailwindcss-squirclesnpm ranking · by weekly downloads · Last 90 daysNo ranking observations in this periodno observations · 0 observations · Updated Oct 18, 2026pluginstats.com
tailwindcss-squircles has no ranking history on npm yet.

Listing placement

All npm2,429 listings · 122 pages · 1,216 shown · page 94, #4 (overall #1,864)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins260 listings · 13 pages · page 4, #6 (overall #66)
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 (1)
Recent weekly downloads observations for tailwindcss-squircles
Date (UTC)Weekly downloadsChange vs. previous
82—

Similar npm Tailwind plugins plugins

All 20 tailwindcss-squircles 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-squircles. First seen Oct 23, 2026; last successful collection Oct 23, 2026. See the methodology.