clay.css

This is a small library that includes a single CSS class designed to quickly create charming, inflated, fluffy 3D elements with a basic claymorphism effect. It has garnered over 550 stars on GitHub and has been featured on several websites and in FrontEnd newsletters.

I love exploring new design and front-end concepts, and I’m particularly drawn to vibrant, charming design styles. I find them refreshing, especially compared to the more mundane designs I work with professionally on a daily basis. This particular style even reminds me of one of my favorite childhood cartoon series — Wallace and Gromit by Aardman.

I developed this package while working on the Claymorphism article for Smashing Magazine. After the article was published, it sparked a major discussion on the web, particularly on Hacker News, where there were varied opinions on the subject.

I also created a demo website that showcases all the features of the clay.css.

Clay.css website and SASS mixin
Clay.css website and SASS mixin

The article and clay.css have gained significant traction on Twitter, reaching developer communities worldwide, with many praising the unique style and feel. It was even featured in the CSS-Tricks newsletter, which I’m incredibly proud of.

I love this effect I’ve seen in 3D art circles but I didn’t know it was called claymorphism. Well, here’s a handy micro CSS utility class called clay.css that immediately turns your regular ol’ box components into something with a bit more depth and oomph like this.

CSS-Tricks

Editorial team

Today, clay.css boasts over 550 stars on the repository and sees between 200 and 350 weekly downloads.