Idiotic points from a โœจ developer, designer and annoying guy.

Squircles

Actual publishing date: Jan 9, 2022

๐Ÿ‘‹ Hey, everyone!

Some time ago I started buying some ๐ŸŽ shit. There was some time since I used an ๐ŸŽ device, so the iOS design guidelines were a bit new for me.

After using the the ๐ŸŽ ecosystem for a while (a couple of months) I started a romance with that sleek, simple and well done interface.

I started trying to use those guidelines (or something inspired in them) in personal projects and I noticed something was off. Something wasn't โ€œsmoothโ€ or โ€œlickableโ€ (you get me? When something is so sexy and good looking you wanna lick the screen? I hope I didn't sound like a weirdo lol) enough. Then I learned the bitter and sweet truth about what was going on. It was them, the squircles.

IMG_0484.PNG

Squircles are basically another way to draw rounded rectangles. Instead of a โ€œharshโ€ curve, it's a little more pointy. It's very subtle, but it makes a big difference in how final products look.

Hereโ€™s another point of view:

IMG_0485.jpg

Itโ€™s a nice little touch to make everything more enjoyable.

On swift (iOS native language) apps itโ€™s really easy to achieve that effect, but what about other areas?

Design appsย 
Only a small portion of the available design apps enables the user to use that kinda stuff.
Figma and Sketch are the only ones I know that offer the feature. Adobe XD and Framer doesnโ€™t have anything similar.

Thereโ€™s a really cool article about the Squircle development from one of the Figma developers:ย https://www.figma.com/blog/desperately-seeking-squircles/

Web Development
Unfortunately thereโ€™s no easy solution for that. The easiest way for us to mimic that function is using clip-path property from css mixed with some JS.

Hereโ€™s a nice little package to make easier to generate the needed code:
https://www.npmjs.com/package/figma-squircle

Well, this is it ๐ŸŽ‰
Thanks for reading.

And here it goes the wallpaper:

IMG_3228.JPG

IGOR MARCOSSI

โœจ I develop, I design and I'm very annoying.

Currently excited with: