Buttons are everywhere in web design, but most of them look the same. Rounded rectangles, maybe with a shadow, maybe with a hover effect. Functional, but forgettable.
I wanted to create something different. Something that would make users pause, something that would feel fresh without being gimmicky.
That's how I discovered clip-path buttons.
Clip-path is one of those CSS properties that feels like magic. You can create shapes that would be impossible with traditional border-radius. Triangles, stars, complex polygons, even organic shapes.
But the real power isn't in the shapes themselves—it's in how they animate. When you combine clip-path with transitions, you can create transformations that feel impossible. A button that morphs from a circle to a square. A shape that unfolds like origami.
The challenge was making it feel natural. Too fast, and it's jarring. Too slow, and it feels sluggish. The timing had to be just right.
I also had to think about accessibility. Unusual shapes can be confusing for some users. The solution was to maintain clear visual hierarchy and ensure the button's purpose was always obvious, regardless of its shape.
The buttons I created ended up being used in a portfolio site, and the feedback was interesting. Some users loved the novelty. Others found it distracting. But everyone noticed them, which was the goal.
What I learned is that experimentation is valuable, even when it doesn't work perfectly. Every attempt teaches you something about how users perceive and interact with interfaces.
Clip-path buttons might not be right for every project, but they opened my mind to new possibilities. Sometimes, breaking the rules is exactly what you need to create something memorable.
hello@iroshandezilva.com
X / Twitter
BTS and Design posts
Dribbble
Visual timeline of my work
See my career timeline
@2025
Iroshan De Zilva