How to use the squircle generator
- Set the size and radius. Choose the width and height of your shape, then the corner radius, just as you would with
border-radius. - Add corner smoothing. Corner smoothing stretches each curve further along the edges so it eases in gradually. 60% is close to Apple’s app icons; 0% is a normal rounded corner.
- Compare. The dashed outline shows an ordinary border-radius of the same size, so you can see the difference.
- Pick an output. A CSS mask scales with the element and works everywhere. clip-path uses an exact path, SVG gives you a shape file, and corner-shape is the new native CSS property.
What is a squircle?
A squircle sits between a square and a circle. A normal rounded corner joins a straight edge to a quarter circle, and the sudden change in curvature is just visible as a slight “kink”. A squircle’s curvature changes gradually, so the corner looks smoother and more natural. Apple uses this continuous-corner style for app icons and hardware, and Figma calls the setting “corner smoothing”.
How to make one in CSS
Until recently there was no native way. The reliable method is to draw the shape as an SVG path and apply it with mask or clip-path. Chrome and Edge 139 added corner-shape: squircle, which works alongside border-radius and also shapes borders and shadows. Other browsers ignore it and show a normal rounded corner, so it’s safe to use as a progressive enhancement.
Mask or clip-path?
Both cut the element to the shape. The mask version here stretches to fit the element, so it works best when the element stays at roughly the size you designed it for. clip-path: path() uses exact pixel coordinates, so generate it at the size you need. Neither shapes a box-shadow; use filter: drop-shadow() on a parent instead.
Using it in WordPress, Elementor, Divi, Bricks and Breakdance
Choose your page builder from Paste into, above the code, and Refract rewrites the CSS for it. Elementor Pro and Divi 5 use the selector keyword, Bricks uses %root% and Breakdance uses %%SELECTOR%%, so the effect only applies to the element you paste it into. Elementor’s newer V4 atomic elements (Heading, Image, Button, Div block) work differently: their Custom CSS sits inside the element’s own style, so Refract splits the code into a part for the element and a part for your site-wide CSS. For the WordPress block editor, free Elementor and Divi 4, you add a CSS class to the element and paste the CSS into your site’s custom CSS. The numbered steps under the code show exactly where to click, and Refract remembers your builder for every tool.
Frequently asked questions
Is this the same as Figma’s corner smoothing?
Yes, it follows the same construction: the smoothing percentage extends the curve along each edge and replaces part of the circular arc with smooth Bézier curves.
Does corner-shape work in Safari and Firefox?
Not yet. As of October 2026 corner-shape is supported in Chrome and Edge 139 and later. Use the mask or clip-path output for every browser.
Why does my squircle look stretched?
The mask scales with the element. If the element’s proportions change a lot, regenerate the shape at the new size, or use the corner-shape property where it’s supported.
Can I use this in Elementor, Divi or Bricks?
Yes. Choose your page builder under Paste into, above the code. The CSS is rewritten for that builder, and the steps underneath tell you exactly where to paste it. WordPress’s block editor and Breakdance are supported too.