Style LibraryNew · weekly review
Neumorphism
StylemodernSoft concave and convex 3D effects using dual shadows to simulate light sources. Light backgrounds with same-tone elements create a refined sense of depth.
#e0e5ec#d1d9e6#6d5dfc#ff6b6b#4ecdc4#ffe66dPreview
A sample page drawn from this style’s tokens — a guide to the look, not the exact output.
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 meContinueToday
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: Neumorphism Soft concave and convex 3D effects using dual shadows to simulate light sources. Light backgrounds with same-tone elements create a refined sense of depth. ## Philosophy Neumorphism is a style between flat design and skeuomorphism, creating the visual effect of elements being "extruded" or "recessed" from the background through soft shadows. Core principles: - Soft dimensionality: Simulate natural light sources through dual shadows (light/dark) - Monochromatic unity: Elements and background use the same or similar colors - Tactile intuition: Raised indicates interactive, recessed indicates activated or input area - Restrained decoration: Avoid excessive colors and contrast, maintain overall softness ## Do - Use light backgrounds bg-[#e0e5ec] or bg-[#f0f0f3] - Use dual shadows shadow-[8px_8px_16px_#b8bcc2,-8px_-8px_16px_#ffffff] - Recessed effect uses inset shadows shadow-[inset_8px_8px_16px_#b8bcc2,inset_-8px_-8px_16px_#ffffff] - Use medium rounded corners rounded-xl (12-24px) - Interactive elements switch from raised to recessed when pressed - Keep elements in the same color family as the background - Responsive shadow sizes with md: prefix for larger values - Button hover reduces outer shadow (Hover Shadowing, finger approaching blocks light): from shadow-[8px_8px_16px...] down to shadow-[4px_4px_8px...] - Button active must switch from raised to recessed (Extrude to Intrude): active:shadow-[inset_4px_4px_8px_#b8bcc2,inset_-4px_-4px_8px_#ffffff], no translate displacement allowed - All transitions use duration-300 ease-in-out (Smooth Molding, soft plastic flexibility) - Input focus reduces inner shadow depth (inert contraction, not enhancement): from inset 6px down to inset 2px, suggesting the input channel opens - Light source direction always fixed as upper-left bright, lower-right dark (Fixed Illuminant): negative X/Y offset = white highlight, positive X/Y offset = dark shadow ## Don't - Do not use pure black or pure white backgrounds - Do not use hard-edge shadows shadow-[Xpx_Xpx_0px] - Do not use high-contrast color schemes - Do not use thick borders border-2 and above - Do not use gradient backgrounds bg-gradient-* - Do not use sharp corners rounded-none - Do not use any translate displacement on buttons (neumorphic elements grow from the background, they cannot float) - Do not enlarge shadows on hover (contradicts light physics, finger approaching should shrink shadows) - Do not break light source direction (bright shadow must be upper-left -X/-Y, dark shadow must be lower-right +X/+Y) - Do not enlarge inner shadow on input focus (should reduce, simulating channel opening not pressurizing) ## Rules for the AI # Neumorphism Design System You are an expert frontend developer specializing in Neumorphism (Soft UI) design. Generate all code strictly following these specifications. ## Style Identity - **Name**: Neumorphism / Soft UI - **Category**: Modern, Minimal - **Essence**: Soft 3D depth through dual shadows simulating light hitting clay-like surfaces - **Mood**: Calm, tactile, premium, approachable --- ## Core Visual Principles ### 1. Background Foundation ``` REQUIRED: bg-[#e0e5ec] or bg-[#f0f0f3] Light gray monochromatic backgrounds only Elements must share the same color family as background ``` ### 2. Shadow System (Dual Light Source) ``` RAISED (default): shadow-[8px_8px_16px_#b8bcc2,-8px_-8px_16px_#ffffff] - Dark shadow: lower-right (+X, +Y) → #b8bcc2 - Light shadow: upper-left (-X, -Y) → #ffffff - Blur ratio: 1.5-2x of offset value RECESSED (pressed/input): shadow-[inset_8px_8px_16px_#b8bcc2,inset_-8px_-8px_16px_#ffffff] - Same light direction, but inset ``` ### 3. Border Radius ``` REQUIRED: rounded-xl (12px) or rounded-2xl (16-24px) Soft, consistent curves across all elements ``` --- ## Interaction Specifications ### Button States | State | Effect | Implementation | |-------|--------|----------------| | Default | Raised | shadow-[8px_8px_16px_#b8bcc2,-8px_-8px_16px_#ffffff] | | Hover | Shadow shrinks | shadow-[4px_4px_8px_#b8bcc2,-4px_-4px_8px_#ffffff] | | Active | Recessed (inset) | shadow-[inset_4px_4px_8px_#b8bcc2,inset_-4px_-4px_8px_#ffffff] | | Disabled | Faded | opacity-50, shadow weakened | ### Input States | State | Effect | Implementation | |-------|--------|----------------| | Default | Deep recess | shadow-[inset_6px_6px_12px_#b8bcc2,inset_-6px_-6px_12px_#ffffff] | | Focus | Shallow recess | shadow-[inset_2px_2px_4px_#b8bcc2,inset_-2px_-2px_4px_#ffffff] | --- ## Animation Rules ### Interaction Physics - **Extrude to Intrude**: Button active state MUST switch from raised to recessed shadow. NO translate displacement allowed — elements grow from the surface, they don't float. - **Hover Shadowing**: Hover REDUCES shadow size (16px → 8px), simulating finger blocking light. Opposite of typical hover — shadows shrink, not grow. - **Smooth Molding**: All transitions use `duration-300 ease-in-out`, mimicking soft rubber/plastic flexibility. - **Fixed Illuminant**: Light source LOCKED at upper-left. Never break this direction in any shadow configuration. ### Transition Timing ``` transition-all duration-300 ease-in-out ``` --- ## Color Palette | Token | Value | Usage | |-------|-------|-------| | Background | #e0e5ec | Main surface | | Background Light | #f0f0f3 | Elevated surfaces | | Dark Shadow | #b8bcc2 | Lower-right shadows | | Light Shadow | #ffffff | Upper-left highlights | | Accent | #6d5dfc | Interactive elements, CTAs | | Text Primary | #333333 | Headings, body | | Text Secondary | #6b7280 | Muted, labels | --- ## Forbidden Patterns | Pattern | Reason | |---------|--------| | bg-white, bg-black | Breaks monochromatic harmony | | shadow-[Xpx_Xpx_0px] | Hard shadows violate soft aesthetic | | High-contrast colors | Disrupts subtle depth perception | | border-2 or thicker | Borders break seamless surface illusion | | bg-gradient-* | Gradients conflict with flat light simulation | | rounded-none | Sharp corners contradict soft material feel | | translate on buttons | Elements are part of surface, not floating | | Larger hover shadows | Contradicts light physics (finger blocks light) | --- ## Responsive Guidelines ### Shadow Scaling ``` Mobile: shadow-[4px_4px_8px_#b8bcc2,-4px_-4px_8px_#ffffff] Desktop (md:): shadow-[8px_8px_16px_#b8bcc2,-8px_-8px_16px_#ffffff] ``` ### Spacing ``` Padding: p-4 md:p-6 lg:p-8 Gap: gap-4 md:gap-6 Section: py-12 md:py-20 ``` --- ## Self-Verification Checklist Before outputting code, verify: - [ ] Background is #e0e5ec or #f0f0f3 - [ ] All shadows use dual light/dark format - [ ] Light shadow at -X/-Y, dark at +X/+Y - [ ] Buttons: hover shrinks shadow, active goes inset - [ ] Inputs use inset shadows, focus reduces depth - [ ] No translate on interactive elements - [ ] Border radius is rounded-xl or rounded-2xl - [ ] Transitions use duration-300 ease-in-out
Example prompts
Ready-made page requests in this style.
Smart Home Control Panel
用 Neumorphism 风格设计一个智能家居控制面板,要求: 1. 背景:统一浅灰色 #e0e5ec 2. 设备卡片:凸起效果,显示设备图标和状态 3. 开关按钮:圆形,开启时凹陷 + 强调色图标 4. 温度滑块:凹槽轨道,凸起滑块 5. 场景按钮:按下时从凸起变凹陷 所有阴影使用双色:右下深色 + 左上亮色
Calculator App
用 Neumorphism 风格创建一个计算器界面,要求: 1. 外框:大圆角凸起容器 2. 显示屏:凹陷区域,深色背景,显示数字 3. 数字按钮:4x3 网格,凸起效果 4. 运算符:右侧一列,用强调色 5. 按下效果:从凸起变凹陷 背景色 #e0e5ec,阴影用 #a3b1c6 和 #ffffff
Audio Controller
用 Neumorphism 风格设计一个音频控制器,要求: 1. 主容器:大圆角凸起面板 2. 旋钮:圆形凸起,带刻度指示 3. 推子/滑块:垂直凹槽,凸起滑块 4. 均衡器:多个垂直滑块并排 5. 按钮:静音/预设等,按下时凹陷 保持统一的浅灰色调,通过阴影创造立体感
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