Claymorphism
粘土拟态
stylekitMITGlassmorphism · glassmorphismGradient · gradientProfessional · professionalNeumorphism · neumorphismLight and dark · bothMedium · mediumPink · pinkVivid · vividSerif · serifGeneral · generalLanding · landing
柔软的粘土质感设计,通过超大圆角、内外阴影组合和柔和渐变,创造出可爱的 3D 立体效果,适合儿童应用和趣味产品。
NNorthwind
Product · PricingSpecimen
Make the work feel finished
One interface, dressed in this style. Compare type, color, radius, and density.
128
Active
4.8
Score
12ms
Edge
Attribution
"Claymorphism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/claymorphism @ bfa7da909e86.
https://github.com/AnxForever/stylekit · api/styles/claymorphism · bfa7da909e86 · © AnxForever
Do
- 使用超大圆角 rounded-3xl 或 rounded-full
- 组合内阴影和外阴影创造立体感
- 使用柔和的糖果色系配色
- 添加微妙的渐变背景模拟光照
- 保持元素之间足够的间距
- 使用圆润的图标和字体
- 按下时使用 Squash & Stretch:active:scale-x-105 active:scale-y-90
- 使用弹簧缓动 ease-[cubic-bezier(0.34,1.56,0.64,1)] duration-300
Don't
- 禁止使用尖锐的直角 rounded-none
- 禁止使用硬边缘阴影 shadow-[Xpx_Xpx_0px]
- 禁止使用高对比度的深色配色
- 禁止使用过于复杂的渐变
- 禁止元素过于拥挤
- 禁止使用单纯的 translate-y 代替真实的形变物理
- 禁止使用线性 ease 或 ease-in-out(无弹性感)
Prompt
用 Claymorphism 风格创建一个儿童教育应用界面,要求: 1. 背景:柔和的渐变(粉色到紫色或黄色到橙色) 2. 主卡片:超大圆角,粘土质感阴影,hover 时上浮 3. 按钮:圆润的胶囊形状,按下时 scale-x-105 scale-y-90 形变,弹簧缓动回弹 4. 图标:使用圆润的图标风格 5. 配色:糖果色系,明亮但不刺眼 --- "Claymorphism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/claymorphism @ bfa7da909e86. powered by Styledex — https://styledex.dev
Tokens
DTCG
{
"$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
"$description": "Claymorphism. \"Claymorphism\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/claymorphism @ bfa7da909e86.",
"$extensions": {
"dev.styledex": {
"id": "stylekit-claymorphism",
"license": "MIT",
"attribution": "\"Claymorphism\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/claymorphism @ bfa7da909e86.",
"banner": "powered by Styledex — https://styledex.dev"
}
},
"color": {
"background": {
"$type": "color",
"$value": "#f7f5f2"
},
"foreground": {
"$type": "color",
"$value": "#1c1917"
},
"card": {
"$type": "color",
"$value": "#f7f5f2"
},
"card-foreground": {
"$type": "color",
"$value": "#1c1917"
},
"primary": {
"$type": "color",
"$value": "#f8b4d9"
},
"primary-foreground": {
"$type": "color",
"$value": "#fafaf9"
},
"secondary": {
"$type": "color",
"$value": "#fef3c7"
},
"secondary-foreground": {
"$type": "color",
"$value": "#1c1917"
},
"accent": {
"$type": "color",
"$value": "#a7f3d0"
},
"accent-foreground": {
"$type": "color",
"$value": "#1c1917"
},
"muted": {
"$type": "color",
"$value": "#e8e6e3"
},
"muted-foreground": {
"$type": "color",
"$value": "#6b6a68"
},
"border": {
"$type": "color",
"$value": "#d4d3d0"
},
"destructive": {
"$type": "color",
"$value": "#dc2626"
},
"ring": {
"$type": "color",
"$value": "#f8b4d9"
}
},
"font": {
"sans": {
"$type": "fontFamily",
"$value": [
"ui-sans-serif",
"system-ui",
"sans-serif"
]
},
"serif": {
"$type": "fontFamily",
"$value": [
"ui-serif",
"Georgia",
"serif"
]
},
"mono": {
"$type": "fontFamily",
"$value": [
"ui-monospace",
"SFMono-Regular",
"Menlo",
"monospace"
]
}
},
"radius": {
"base": {
"$type": "dimension",
"$value": "0.5rem"
}
},
"spacing": {
"base": {
"$type": "dimension",
"$value": "1rem"
}
},
"shadow": {
"base": {
"$type": "shadow",
"$value": "8px 8px 16px rgba(0,0,0,0.1),inset 4px 4px 8px rgba(255,255,255,0.4),inset -2px -2px 4px rgba(0,0,0,0.1)"
}
}
}
CSS
/* powered by Styledex — https://styledex.dev */
/* "Claymorphism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/claymorphism @ bfa7da909e86. */
:root {
--background: #f7f5f2;
--foreground: #1c1917;
--card: #f7f5f2;
--card-foreground: #1c1917;
--primary: #f8b4d9;
--primary-foreground: #fafaf9;
--secondary: #fef3c7;
--secondary-foreground: #1c1917;
--accent: #a7f3d0;
--accent-foreground: #1c1917;
--muted: #e8e6e3;
--muted-foreground: #6b6a68;
--border: #d4d3d0;
--destructive: #dc2626;
--ring: #f8b4d9;
--radius: 0.5rem;
--font-sans: ui-sans-serif, system-ui, sans-serif;
--font-serif: ui-serif, Georgia, serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
--spacing: 1rem;
--shadow: 8px 8px 16px rgba(0,0,0,0.1),inset 4px 4px 8px rgba(255,255,255,0.4),inset -2px -2px 4px rgba(0,0,0,0.1);
}
Tailwind
/* powered by Styledex — https://styledex.dev */
/* "Claymorphism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/claymorphism @ bfa7da909e86. */
/** Tailwind theme extend for Claymorphism (stylekit-claymorphism) */
module.exports = {
"theme": {
"extend": {
"colors": {
"background": "#f7f5f2",
"foreground": "#1c1917",
"card": "#f7f5f2",
"primary": "#f8b4d9",
"primary-foreground": "#fafaf9",
"secondary": "#fef3c7",
"accent": "#a7f3d0",
"muted": "#e8e6e3",
"border": "#d4d3d0",
"destructive": "#dc2626",
"ring": "#f8b4d9"
},
"borderRadius": {
"lg": "0.5rem"
},
"fontFamily": {
"sans": [
"ui-sans-serif",
"system-ui",
"sans-serif"
],
"serif": [
"ui-serif",
"Georgia",
"serif"
],
"mono": [
"ui-monospace",
"SFMono-Regular",
"Menlo",
"monospace"
]
},
"boxShadow": {
"styledex": "8px 8px 16px rgba(0,0,0,0.1),inset 4px 4px 8px rgba(255,255,255,0.4),inset -2px -2px 4px rgba(0,0,0,0.1)"
}
}
}
};
shadcn
/* powered by Styledex — https://styledex.dev */
/* "Claymorphism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/claymorphism @ bfa7da909e86. */
@layer base {
:root {
--background: #f7f5f2;
--foreground: #1c1917;
--card: #f7f5f2;
--card-foreground: #1c1917;
--primary: #f8b4d9;
--primary-foreground: #fafaf9;
--secondary: #fef3c7;
--secondary-foreground: #1c1917;
--accent: #a7f3d0;
--accent-foreground: #1c1917;
--muted: #e8e6e3;
--muted-foreground: #6b6a68;
--border: #d4d3d0;
--destructive: #dc2626;
--ring: #f8b4d9;
--radius: 0.5rem;
--font-sans: ui-sans-serif, system-ui, sans-serif;
--font-serif: ui-serif, Georgia, serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
--spacing: 1rem;
--shadow: 8px 8px 16px rgba(0,0,0,0.1),inset 4px 4px 8px rgba(255,255,255,0.4),inset -2px -2px 4px rgba(0,0,0,0.1);
}
}