StealThis .dev

Claymorphism

Puffy, inflated 3D clay shapes with thick outlines, pastel colors, and a playful soft-plastic feel — like children's clay toys.

Open in Lab
html css javascript
Targets: JS HTML

Code

Claymorphism

Claymorphism is the three-dimensional sibling of flat design — elements look like they were molded from soft, brightly colored clay and then photographed. The signature formula combines four distinct shadow layers: an inner bottom-right shadow that darkens the form, an inner top-left highlight that lightens it, a strong outer drop shadow for lift, and a thick semi-transparent outline that simulates the clay’s physical edge. Together they create an unmistakable inflated, squishy quality.

Every element uses solid pastel colors rather than gradients: #C084FC purple, #67E8F9 cyan, #86EFAC green, #FCA5A5 pink, #FDE68A yellow. This solid-color-plus-shadow approach is what distinguishes claymorphism from regular 3D design — the material is the color, and the shape is everything. 'Nunito' or 'Quicksand' fonts with their rounded letterforms echo the rounded border-radius: 30px shapes throughout.

Background decorations are scattered clay spheres — simple CSS circles with the full clay shadow formula — that reinforce the tactile, three-dimensional world. The light lavender background (#F0E8FF) is warm enough to feel cozy without competing with the colorful clay elements.

Key characteristics

  • Light lavender #F0E8FF background with scattered decorative clay spheres
  • Four-layer clay shadow formula: inner dark, inner highlight, outer drop, thick outline
  • border-radius: 30px on all primary UI elements
  • Solid pastel colors per element (purple, cyan, green, pink, yellow)
  • Squish animation on button hover/click using scale transform
  • 'Nunito' rounded typography

When to use it

Claymorphism is perfect for mobile app onboarding screens, children’s apps and games, creative SaaS products, and any context where joy, playfulness, and a sense of tactile delight are desired. The heavy visual weight means it works best on component-level showcases and landing heroes, not dense data views.