<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/squircles-nzsz4smes" -->

---
title: Squircles | daily.dev
description: A squircle is a shape between a square and a circle, and there's no single formula for it, just several competing curve families. The superellipse, popularized...
canonical: https://daily.dev/posts/squircles-nzsz4smes
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Squircles | daily.dev
og:description: A squircle is a shape between a square and a circle, and there's no single formula for it, just several competing curve families. The superellipse, popularized...
og:url: https://daily.dev/posts/squircles-nzsz4smes
og:image: https://api.daily.dev/og/posts/nZSz4SMEs.png
og:image:alt: Squircles
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Squircles

**[Hacker News](https://daily.dev/sources/hn)** · 6 min read · 0 upvotes · 0 comments

## Summary

A squircle is a shape between a square and a circle, and there's no single formula for it, just several competing curve families. The superellipse, popularized by Piet Hein, is the best known. Apple's iOS 7 icon shape turned out not to be an exponent-5 superellipse as first guessed, but a flat-sided curve built from Bézier segments. Figma later published its own approximation in a blog post, and there are a number of open source implementations of it. CSS now standardizes real superellipse corners via the 'corner-shape' property, and a close match to Apple's shape uses 'superellipse(1.585)' with 'border-radius: 46.2%'. Clothoid-based squircles achieve G2 continuity that Figma's approximation lacks.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://linebender.org/wiki/curves/squircle>

## Questions this post answers

### What CSS value approximates Apple's iOS icon squircle shape using corner-shape?

A superellipse with exponent 3 closely matches Apple's icon shape. In CSS, use 'border-radius: 46.2%; corner-shape: superellipse(1.585);' on a square element, since the superellipse() parameter is the base-2 log of the exponent (log2(3) is approximately 1.585). This gives G2 continuity similar to Apple's curvature profile.

_daily.dev surfaces CSS spec updates like corner-shape for developers building pixel-accurate UI._

### Is Apple's iOS 7 squircle icon shape actually a mathematical superellipse?

No, Apple's squircle is not a true superellipse. An early analysis guessed it was a superellipse of exponent 5, but extracting the actual Bézier curves showed this was inaccurate. It is instead a flat-sided squircle, a curve mixing straight line segments with rounded corners, with a fixed gauge of 0.809 when there is no flat side.

_developers reverse-engineering platform UI shapes track curve analyses like this via daily.dev._

### What is the difference between Figma's squircle approximation and a clothoid-based squircle?

Figma's squircle approximation, described in its 'Desperately Seeking Squircles' blog post, uses cubic Bézier segments with only G1 continuity, meaning there is a curvature discontinuity where segments join. A clothoid squircle instead achieves G2 continuity, having a piecewise linear relationship between arc length and curvature, making it smoother visually than the Figma approximation.

_daily.dev helps developers comparing curve-smoothing techniques like these keep up with the details._

## Community take

How the wider developer community reacted, aggregated from 2 discussions and 49 comments across lobsters, hackernews (as of 2026-11-17).

**TL;DR:** Discussion mostly dives into the geometric nuance of squircles vs rounded rectangles (curvature continuity, G1 vs G2), with a notable contingent finding squircles unnecessary or ugly compared to plain rounded rectangles, alongside genuine curiosity about the math and CSS implementation status.

**Sentiment:** 30% positive · 30% mixed · 40% skeptical

**The case for**

- Some find squircles genuinely nicer to look at, saying rounded rectangles feel jarring at the corners by comparison.
- The curvature-continuity explanation (G1 vs G2) resonated with people as a satisfying technical justification for why squircles feel smoother.
- Several appreciated the deeper math/engineering connections, like clothoids used in highway and rail transition curves.
- Browser support for the CSS corner-shape property is actively progressing across Chrome, Safari, and Firefox.

**The pushback**

- A number of commenters say they simply prefer plain rounded rectangles and find squircles unnecessary or even ugly.
- One commenter is tired of squircle app icons and misses when icons had distinctive, easily recognizable shapes.
- The current CSS corner-shape/border-radius interaction is criticized as awkward, requiring doubled radius values for cross-browser compatibility.
- Some dislike rounded corners of any kind, squircle or otherwise, in UI design.

**By community**

- lobsters (mixed): A small thread mixing preference for plain rounded rectangles with practical gripes about CSS corner-shape ergonomics and a nod to an in-progress GTK implementation.
- hackernews (heated): A long, very back-and-forth thread ranging from basic clarifying questions about what a squircle even is to passionate disagreement over whether squircles look better or worse than rounded rectangles, plus tangents into math, CAD, and browser support.

**Hottest debate:** Whether squircles are actually a meaningful visual improvement over plain rounded rectangles or just unnecessary aesthetic fussiness.

**Open questions**

- Will squircle corner-shape support become consistent across all major browsers soon?
- Is there a single best mathematical definition for a squircle, or will competing curve families persist?

**Highlights**

> A standard rounded rectangle has quarter-circle corners. A squircle starts curving earlier and more gently, with a gradual transition from its flatter sides into its corners. Personally, I prefer regular old round rectangles. Squircles are ugly.
> — [flowerlad on hackernews](https://news.ycombinator.com/item?id=50522429)

> On a rounded rectangle, the shape of the corner is continuous, but the curvature is not - it jumps from 0 to R. Rounded rectangles look fine, but if you're attuned to it, this subtle discontinuity can look just a little bit off. A squircle is one (actually several variations) approach to making the curvature continuous. I would say it's still a subjective aesthetic difference, but you can use math jargon to explain why you like one better than the other.
> — [alanbernstein on hackernews](https://news.ycombinator.com/item?id=50523249)

> A regular rounded rectangle is G1 continuous while a squircle (superellipse) is G2 continuous, which means that it is not only continuous on position and tangent for its outline, but the curvature rate of change for the outline is also continuous, so it's smoother and doesn't have hard difference between "line" and "rounded corner" on the shape.
> — [YuechenLi on hackernews](https://news.ycombinator.com/item?id=50523316)

> The maths is elegant but I'm really tired of squircle icons. I want to go back to the good old days where every icon could have it's own distinctive shape which makes that one app much easier to find. Someone got a promotion for squircles.
> — [pampas on hackernews · 1 comments](https://news.ycombinator.com/item?id=50523642)

> I’ve been seeing screenshots of Apple software recently, and feeling uncomfortable about them on rectangles. On app icons they looked fine (though I still think older Android with no standard shape was obviously vastly superior), but on things like notification backgrounds… there’s just something *off* about them. There are definitely places where rounded rectangles can be improved by a little squircling, but this stuff is just uncomfortable. (It doesn’t help that I hate the interaction between `corner-shape` and `border-radius` in CSS: you pretty much have to *double* the radius if you use `corner-shape: squircle`, so all of a sudden you want nonsense like `border-radius: 0.5em; @supports (corner-shape: squircle) { corner-shape: squircle; border-radius: 1em; }` for compatibility without stupidly large radii on non-supporting browsers.)
> — [chrismorgan on lobsters · 3 points](https://lobste.rs/s/iihw5u/squircles#c_7t1nhd)

**Source threads**

- [lobsters](https://lobste.rs/s/iihw5u/squircles) · 41 points · 5 comments
- [hackernews](https://news.ycombinator.com/item?id=50515151) · 139 points · 44 comments

## Similar posts on daily.dev

- [A Squircle Shape using clip-path: shape\(\)](https://daily.dev/posts/a-squircle-shape-using-clip-path-shape--lwbutzq2y) · CSS Tip · 5 upvotes · 0 comments
- [How to create fancy corners using CSS corner-shape](https://daily.dev/posts/how-to-create-fancy-corners-using-css-corner-shape-t9hjg3jcn) · LogRocket · 0 upvotes · 0 comments
- [Making interesting borders with CSS corner-shape](https://daily.dev/posts/making-interesting-borders-with-css-corner-shape-5iqa6xm15) · Cassidy's blog · 22 upvotes · 2 comments

---

Tags: [#css](https://daily.dev/tags/css), [#graphics-programming](https://daily.dev/tags/graphics-programming), [#design-tools](https://daily.dev/tags/design-tools)

[View this post on daily.dev](https://daily.dev/posts/squircles-nzsz4smes)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Squircles","url":"https://daily.dev/posts/squircles-nzsz4smes","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/squircles-nzsz4smes"},"datePublished":"2026-11-16T21:21:25.064Z","dateModified":"2026-11-17T03:24:02.728Z","description":"A squircle is a shape between a square and a circle, and there's no single formula for it, just several competing curve families. The superellipse, popularized...","image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","thumbnailUrl":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/squircles-nzsz4smes","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css,graphics-programming,design-tools","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Squircles"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/squircles-nzsz4smes#faq","mainEntity":[{"@type":"Question","name":"What CSS value approximates Apple's iOS icon squircle shape using corner-shape?","acceptedAnswer":{"@type":"Answer","text":"A superellipse with exponent 3 closely matches Apple's icon shape. In CSS, use 'border-radius: 46.2%; corner-shape: superellipse(1.585);' on a square element, since the superellipse() parameter is the base-2 log of the exponent (log2(3) is approximately 1.585). This gives G2 continuity similar to Apple's curvature profile. daily.dev surfaces CSS spec updates like corner-shape for developers building pixel-accurate UI."}},{"@type":"Question","name":"Is Apple's iOS 7 squircle icon shape actually a mathematical superellipse?","acceptedAnswer":{"@type":"Answer","text":"No, Apple's squircle is not a true superellipse. An early analysis guessed it was a superellipse of exponent 5, but extracting the actual Bézier curves showed this was inaccurate. It is instead a flat-sided squircle, a curve mixing straight line segments with rounded corners, with a fixed gauge of 0.809 when there is no flat side. developers reverse-engineering platform UI shapes track curve analyses like this via daily.dev."}},{"@type":"Question","name":"What is the difference between Figma's squircle approximation and a clothoid-based squircle?","acceptedAnswer":{"@type":"Answer","text":"Figma's squircle approximation, described in its 'Desperately Seeking Squircles' blog post, uses cubic Bézier segments with only G1 continuity, meaning there is a curvature discontinuity where segments join. A clothoid squircle instead achieves G2 continuity, having a piecewise linear relationship between arc length and curvature, making it smoother visually than the Figma approximation. daily.dev helps developers comparing curve-smoothing techniques like these keep up with the details."}}]}
```

