This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product Thumbnail

Corner Shape Generator

CSS squircle generator with a fallback that matches

Design Tools
Developer Tools
UX Design
Visit WebsiteSee on Product HuntTwitterGithub

Hunted bya-deva-dev

CSS corner-shape brings squircles to the web, but only in Chromium for now. The fallback is the tricky part. A squircle and a rounded corner with the same radius look nothing alike. So the generator sizes the `border-radius` to match visually, or writes an exact `clip-path` when matching isn't possible.

Top comment

Hi everyone, maker here.

CSS corner-shape landed in Chromium 139, so squircles are finally possible in plain CSS. I went to use one in a real design and hit a wall: border-radius: 1rem and corner-shape: squircle at that same 1rem look nothing alike. The squircle reads smaller. Which means the obvious fallback for browsers without support doesn't work.

That's what the generator sorts out. You pick a shape, adjust the superellipse value, and it gives you the CSS:

- the corner-shape rule wrapped in @\supports
- a border-radius fallback sized to match visually rather than numerically
- an exact clip-path fallback for shapes no radius can approximate, concave ones especially

The reasoning behind it, the superellipse basics and the @\supports setup are written up here: https://dev.to/a-dev/css-corner-...

It's free and the source is on GitHub.

Comment highlights

No comment highlights available yet. Please check back later!

About Corner Shape Generator on Product Hunt

CSS squircle generator with a fallback that matches

Corner Shape Generator was submitted on Product Hunt and earned 0 upvotes and 1 comments, placing #66 on the daily leaderboard. CSS corner-shape brings squircles to the web, but only in Chromium for now. The fallback is the tricky part. A squircle and a rounded corner with the same radius look nothing alike. So the generator sizes the `border-radius` to match visually, or writes an exact `clip-path` when matching isn't possible.

Corner Shape Generator was featured in Design Tools (261.9k followers), Developer Tools (517.6k followers) and UX Design (7k followers) on Product Hunt. Together, these topics include over 122.7k products, making this a competitive space to launch in.

Who hunted Corner Shape Generator?

Corner Shape Generator was hunted by a-dev. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how Corner Shape Generator stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.