Claymorphism

Soft, inflated, 3D clay-like UI design. Elements look as if molded from Play-Doh, floating above the background with puffy, tactile surfaces and vivid pastel colors.

Explore the Aesthetic Shadow Formula

Core Design Traits

Every element should look like it could be physically picked up or squeezed. Claymorphism evokes stuffed toys, balloons, and Play-Doh forms through a precise combination of color, shadow, and shape.

Inflated Geometry

Objects resemble air-filled, softly sculpted forms with chunky, rounded shapes. No sharp edges anywhere.

Floating Surfaces

Elements float above backgrounds rather than extruding from them, using outer shadows for separation and depth.

Triple Shadow System

Dual inner shadows plus an outer shadow create the signature clay/puffy illusion -- the defining CSS technique of this aesthetic.

Vivid Color Cues

Bright pastels and vivid hues differentiate interactive elements, improving accessibility over monochromatic approaches.

Clean Typography

Bold, rounded typefaces balance the whimsical 3D clay visuals with readability and minimal aesthetic purity.

Friendly, Tactile Feel

Organic, blob-like formations throughout the UI evoke a sense of playfulness and physical touchability.

Bright Pastels & Vivid Hues

Claymorphism demands bright pastels and vivid colors. Drop shadows become ineffective on darker variations, so foregrounds and backgrounds stay in the lighter pastel range.

Surface White
#FFFFFF
Coral
#F76D6D
Sky Blue
#62CDFF
Lavender
#D6A2FF
Pastel Green
#7AE582
Warm Amber
#FFB347
Soft Pink
#FF9EB5
Mint
#A8E6CF
Text Dark
#2D3557
Color Guidelines
  • Always keep the background lighter than the foreground elements
  • Shadow colors should derive from the element's own background color (tinted darker)
  • Inner highlight shadow should be a lighter tint of the element's color
  • Inner depth shadow should be a darker shade at 60-70% opacity
  • Outer drop shadow should match the element's hue with 30-50% transparency

Rounded, Soft & Friendly

Claymorphism typography should be rounded, bold, and clean -- matching the organic clay aesthetic. Sans-serif only; angular serifs clash with the rounded clay forms.

Comfortaa -- Display Headings
Soft Clay Worlds
Rounded geometric, friendly feel. Ideal for logos, hero text, and display-size headings.
Quicksand -- Headlines & Cards
Every element feels tactile
Rounded geometric sans-serif. Clean for section headings, card titles, and button labels.
Nunito -- Body Text & UI
Nunito's soft terminals and generous x-height make it the ideal body font for claymorphic interfaces. Its rounded letterforms harmonize with the inflated, puffy visual language while maintaining excellent legibility at all sizes. Pair it with Quicksand or Comfortaa for headings.
Rounded sans-serif with soft terminals. The workhorse font for body copy, labels, and UI elements.

The Claymorphism Formula

The core visual effect relies on combining two inset shadows (one dark, one light) with one outer shadow. Here is how each layer contributes to the final clay appearance.

Outer Shadow
Float & depth
Inset Dark
Volume & concavity
Inset Light
Highlight & inflation
Claymorphism
All three combined
/* The Claymorphism Shadow Formula */ box-shadow: 12px 12px 24px rgba(base-darker, 0.35), /* outer: float/depth */ inset -8px -8px 16px rgba(base-much-darker, 0.3), /* inset dark: volume */ inset 8px 8px 16px rgba(base-much-lighter, 0.6); /* inset light: inflation */

Shadow Layer Reference

Outer Shadow

Positive X/Y offsets create the floating/depth effect. Use the base color darkened at 30-45% opacity.

/* Direction: positive X/Y */ box-shadow: 12px 12px 24px rgba(50, 140, 200, 0.35);

Inset Dark

Negative X/Y creates concavity and volume. Use the base color darkened 20-30% at 30-70% opacity.

/* Direction: negative X/Y */ box-shadow: inset -8px -8px 16px rgba(30, 110, 170, 0.3);

Inset Light

Positive X/Y creates the highlight and inflation. Use the base color lightened heavily at 50-90% opacity.

/* Direction: positive X/Y */ box-shadow: inset 8px 8px 16px rgba(180, 230, 255, 0.6);

Generous, Organic, Breathing

Clay elements need ample room to breathe. Large border-radii, generous padding, centered card-based layouts, and soft color transitions are essential.

1

Generous Spacing

Ample padding inside elements (40-60px) and generous gaps between them. Clay elements need room to breathe.

2

Card-Based Layouts

Floating card elements on a soft background. Centered, with max-width containers of 900-1100px to prevent over-stretching.

3

Large Border-Radius

30-50px on cards, 16-24px on buttons, fully rounded (999px) on pills and avatars. No sharp corners anywhere.

4

Soft Section Transitions

Use soft color transitions between sections rather than hard dividers. Group related content in clay cards.

5

Size-Based Hierarchy

Create hierarchy through element size and shadow depth. More important items get deeper, more prominent shadows.

6

Generous Whitespace

The clay effect needs visual breathing room. Limit claymorphic layers to prevent visual clutter.

Tactile UI Elements

Claymorphic components use the triple-shadow system on every interactive element -- buttons, inputs, toggles, badges, and cards -- to maintain the cohesive puffy aesthetic.

Form Elements

Enable clay mode

Coral Card

Vivid surfaces with matching shadow hues

Purple Card

Inner shadows create inflated volume

Badges & Pills

Design CSS Accessible 3D Effect

CSS Technique Variations

Coral Element

Warm, vivid variation with hue-matched shadows.

background: #f76d6d; border-radius: 40px; box-shadow: 12px 12px 24px rgba(200, 80, 80, 0.4), inset -8px -8px 16px rgba(180, 50, 50, 0.3), inset 8px 8px 16px rgba(255, 180, 180, 0.5);

Glass + Clay Hybrid

Combining clay shadows with glass transparency for depth.

background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(15px); border-radius: 30px; box-shadow: 0 35px 68px rgba(170, 63, 254, 0.42), inset 0 -8px 16px #d6a2ff;

HSL Approach

Using HSL functions for systematic color derivation.

background: hsl(120deg 35% 82%); border-radius: 50px; box-shadow: 34px 34px 68px hsl(120deg 10% 50%), inset -8px -8px 16px hsl(120deg 20% 50% / 0.7), inset 0 14px 28px hsl(120deg 20% 95%);

Design Principles

Maintain clear visual hierarchy despite the 3D effect. Keep backgrounds light and bright so drop shadows remain effective. Respect motion preferences to avoid overwhelming animations.

Tactile Accessible Playful Dimensional