A squircle is a rounded square whose corners ease gradually into the straight edges instead of switching abruptly to a quarter circle. In CSS you can make one in two ways: the new corner-shape: squircle property, which works in Chrome and Edge 139 and later, or an SVG path applied with mask or clip-path, which works in every browser. Most sites use corner-shape as an enhancement and keep a normal border-radius as the fallback.
Key takeaways
- A squircle has smoothly changing curvature, so it avoids the faint “kink” where a straight edge meets a
border-radiuscurve. corner-shape: squircleis native and also shapes borders, outlines and shadows, but only Chromium browsers support it so far.- For every browser, use an SVG path with
maskorclip-path. Neither shapes abox-shadow, so usefilter: drop-shadow()on a parent. - Around 60% corner smoothing is close to Apple’s app icon corners.
What is a squircle?
The name joins “square” and “circle”. A normal rounded corner made with border-radius is a straight line that suddenly becomes a perfect quarter circle. The direction is continuous, but the curvature jumps from zero to a fixed value at the join. Your eye picks this up as a slight hard edge, especially on large shapes and bright backgrounds.
A squircle spreads the curve further along each edge and increases the curvature gradually, so the corner flows into the sides. Apple uses this continuous style for app icons and hardware, and Figma exposes it as “corner smoothing” in the corner radius panel. Once you notice the difference, ordinary rounded rectangles start to look slightly mechanical next to it.
How do you make a squircle in CSS?
| Method | Browser support | Shapes borders and shadows? | Best for |
|---|---|---|---|
corner-shape: squircle | Chrome and Edge 139+ | Yes | Progressive enhancement on cards and buttons |
mask with an SVG | All modern browsers | No | Images, avatars and elements that resize |
clip-path: path() | All modern browsers | No | Fixed-size elements such as icons |
| Inline SVG shape | All browsers | You draw them in SVG | Illustrations and icon files |
1. The native way: corner-shape
corner-shape changes the shape of the corners that border-radius creates. It doesn’t replace the radius; it modifies it. Other values include bevel, scoop, notch and superellipse(), which takes a number so you can tune the curve yourself.
.card {
border-radius: 32px; /* every browser gets this */
corner-shape: squircle; /* Chrome and Edge 139+ smooth it */
border: 1px solid #e3e5ee;
box-shadow: 0 12px 32px -12px rgb(20 20 40 / .25);
}
Because it is part of the box itself, the border, outline, background and box shadow all follow the new shape. Browsers that don’t understand the property simply ignore it and draw a normal rounded corner, so there is nothing to break. One thing to watch: a squircle looks a little tighter than the same border-radius, so you may want a slightly larger radius than you would use without it.
2. The everywhere way: an SVG mask
Until corner-shape reaches Firefox and Safari, the reliable method is to draw the squircle as an SVG path and use it to cut out the element. A mask stretches to fit whatever box it is on:
.avatar {
-webkit-mask: url("squircle.svg") center / 100% 100% no-repeat;
mask: url("squircle.svg") center / 100% 100% no-repeat;
}
You can inline the SVG as a data URI so there is no extra request. Because the shape stretches, it looks right when the element is roughly the proportions you designed it for; a squircle drawn for a square will distort if you put it on a wide banner.
3. Exact sizes: clip-path: path()
clip-path: path() uses the same path data but in pixel coordinates, so the corners never stretch. The trade-off is that the path doesn’t scale with the element, so generate it at the size you need. This suits app icons, fixed-size thumbnails and buttons that never change size.
Shadows: Masks and clip paths cut away everything outside the shape, including any box-shadow or outline. Wrap the element in a parent and put filter: drop-shadow() on the parent instead. Drop shadows follow the visible shape, not the box.
How much corner smoothing should you use?
Corner smoothing is a percentage that controls how far the curve reaches along each edge. At 0% you get an ordinary rounded corner. Around 60% is close to the iOS app icon look. Above about 80% the corners start to feel soft and pillowy, which can suit playful brands but looks vague on dense interfaces.
- Buttons and inputs: 40–60%. Small elements show the difference less, so subtle values are enough.
- Cards and panels: around 60%. Large surfaces are where the smoother corner is most visible.
- App icons and avatars: 60% to match iOS and macOS.
- Nested shapes: give the inner element a smaller radius than the outer one, roughly the outer radius minus the padding, so the gaps stay even.
Is corner-shape safe to use today?
Yes, as a progressive enhancement. As of October 2026 only Chromium browsers (Chrome, Edge, Opera and others built on Chromium) support it, which covers most desktop and Android traffic. Safari and Firefox show the normal border-radius instead. Because the fallback is a perfectly good rounded corner, there is no reason to wait. If the squircle must look identical in every browser, for example in a logo or an icon set, use the SVG mask or export an SVG file instead.
You can also detect support and switch approach in CSS:
.icon { border-radius: 22%; }
@supports not (corner-shape: squircle) {
.icon { mask: url("squircle.svg") center / 100% 100% no-repeat; }
}
Using squircles in WordPress and page builders
The squircle generator has a “Paste into” menu above the code. Pick Elementor, Divi, Bricks, Breakdance or the WordPress block editor and it rewrites the CSS for that builder, with numbered steps showing where to paste it. Elementor Pro and Divi 5 use the selector keyword, so the shape only applies to the element you paste it into.
Make your own squircle
The Refract squircle generator lets you set the size, radius and smoothing, compare the result against a normal rounded corner, and copy it as a mask, a clip-path, an SVG file or corner-shape CSS. It runs in your browser and is free to use. For the shadow underneath, try the box shadow generator and our guide to layered box shadows.
Last checked: October 2026.
Sources: MDN: corner-shape, Chrome for Developers: implementing corner-shape in Blink, MDN: clip-path.


