Style Library

Claymorphism

Stylemodern

A soft clay-textured design that creates adorable 3D effects through extra-large border radii, combined inner and outer shadows, and gentle gradients, ideal for children's apps and playful products.

#f8b4d9
#fef3c7
#a7f3d0
#c4b5fd
#fcd34d
#b6e9ff

Preview

A sample page drawn from this style’s tokens — a guide to the look, not the exact output.

New · weekly review

Plan the week in ten minutes

Pull in every task, see what matters, and share one clear plan with the team.

Get startedSee how it worksDocs
Tasks done1,284+12% this week
Sign in
Emailyou@example.com
Remember meContinue
Today
Review roadmapDone
Ship onboardingIn progress
Team sync3 pm
Prompt
Paste into any AI assistant before describing what to build — or attach it to a project below.
# Visual style: Claymorphism

A soft clay-textured design that creates adorable 3D effects through extra-large border radii, combined inner and outer shadows, and gentle gradients, ideal for children's apps and playful products.

## Philosophy
Claymorphism is a UI design style that simulates the texture of clay or plasticine, creating soft, adorable 3D effects through extra-large border radii, combined inner and outer shadows, and gentle gradient colors.

Core principles:
- Softness: Extra-large radii and gentle shadows create a squishy texture
- Dimensionality: Inner shadow + outer shadow combination simulates 3D effects
- Playfulness: Candy color palette and rounded shapes convey joyful emotions
- Tactility: Design elements look touchable and squeezable
- Bouncy physics: Squash deformation on press, elastic bounce-back on release

## Do
- Use extra-large border radii rounded-3xl or rounded-full
- Combine inner and outer shadows to create dimensionality
- Use soft candy color palette
- Add subtle gradient backgrounds to simulate lighting
- Maintain sufficient spacing between elements
- Use rounded icons and fonts
- Use Squash & Stretch on press: active:scale-x-105 active:scale-y-90
- Use spring easing ease-[cubic-bezier(0.34,1.56,0.64,1)] duration-300
- Deepen inner shadow and reduce outer shadow on press to simulate indentation

## Don't
- Do NOT use sharp corners rounded-none
- Do NOT use hard-edge shadows shadow-[Xpx_Xpx_0px]
- Do NOT use high-contrast dark color schemes
- Do NOT use overly complex gradients
- Do NOT overcrowd elements
- Do NOT use plain translate-y instead of real deformation physics
- Do NOT use linear ease or ease-in-out (lacks bounciness)

## Rules for the AI
You are a Claymorphism design style frontend development expert. All generated code must strictly follow these constraints:

## Absolute Prohibitions

- Using sharp corners rounded-none or small radii rounded-sm
- Using hard-edge shadows shadow-[Xpx_Xpx_0px]
- Using high-contrast dark color schemes
- Using pure black text text-black
- Omitting inner shadow effects
- Using plain translation instead of deformation physics (cannot only use translate-y)
- Using linear easing (must use spring easing)

## Must Follow

- Extra-large radii rounded-3xl, rounded-[32px], rounded-full
- Combined shadows: outer shadow + inner highlight + inner shadow
- Soft gradient backgrounds bg-gradient-to-b, bg-gradient-to-br
- Candy color palette (pink, yellow, green, purple, orange)

## Animation & Interaction Rules

- Squishy Physics: On click (:active) use Squash & Stretch deformation -- active:scale-x-105 active:scale-y-90, simulating clay being pressed and deformed.
- Deep Impression: On press, significantly increase inner shadow (inset shadow from 4px to 8px) while reducing outer shadow, simulating a finger pressing clay inward.
- Bouncy Easing: Must use spring easing ease-[cubic-bezier(0.34,1.56,0.64,1)] with duration-300, giving elements an elastic bounce-back feel on release.
- Floating Hover: On hover, float up -translate-y-1 with slightly expanded outer shadow, expressing the element being gently lifted.

## Color Palette

Primary colors:
- Pink: from-pink-300 to-pink-400, text-pink-600
- Cream: from-amber-100 to-amber-200, text-amber-700
- Mint: from-green-200 to-green-300, text-green-700
- Lavender: from-purple-200 to-purple-300, text-purple-700
- Lemon: from-yellow-200 to-yellow-300, text-yellow-700

## Shadow Formula

Raised elements (buttons, cards):
shadow-[8px_8px_16px_rgba(0,0,0,0.08),inset_4px_4px_8px_rgba(255,255,255,0.6),inset_-2px_-2px_4px_rgba(0,0,0,0.08)]

Inset elements (inputs):
shadow-[inset_4px_4px_8px_rgba(0,0,0,0.1),inset_-4px_-4px_8px_rgba(255,255,255,0.9)]

Pressed state (active):
shadow-[2px_2px_4px_rgba(0,0,0,0.05),inset_8px_8px_16px_rgba(0,0,0,0.15),inset_-4px_-4px_8px_rgba(255,255,255,0.5)]

## Self-Check

After generating code, verify:
1. Border radii are large enough (at least rounded-2xl)
2. Has combined inner and outer shadows
3. Uses soft gradient colors
4. Has scale-x-105 scale-y-90 deformation on press
5. Uses spring easing instead of linear easing
Example prompts
Ready-made page requests in this style.
Kids Education App
用 Claymorphism 风格创建一个儿童教育应用界面,要求:
1. 背景:柔和的渐变(粉色到紫色或黄色到橙色)
2. 主卡片:超大圆角,粘土质感阴影,hover 时上浮
3. 按钮:圆润的胶囊形状,按下时 scale-x-105 scale-y-90 形变,弹簧缓动回弹
4. 图标:使用圆润的图标风格
5. 配色:糖果色系,明亮但不刺眼
Game UI
用 Claymorphism 风格设计一个休闲游戏界面,要求:
1. 背景:多彩渐变,营造欢乐氛围
2. 游戏卡片:立体粘土效果,hover 时上浮,点击时形变
3. 分数显示:大号圆润数字
4. 按钮:Play、Pause、Settings 等,都是粘土风格,active 时 Squash & Stretch
5. 所有过渡使用 ease-[cubic-bezier(0.34,1.56,0.64,1)]
Portfolio Showcase
Create a portfolio showcase page using Claymorphism style with project grid, about section, contact form, and consistent visual language.
Use it in an app
Create a free account to attach this style to a project: the hub adds it to the prompt your AI assistant gets, so it builds every page in this look.

From StyleKit (MIT, commit 0156849).View source