Clay Morphic

3D soft clay morphic FAQ with neumorphic design.

Main Features of Clay Morphic

How to Use Clay Morphic in Next.js

Installation Guide for Clay Morphic

Props

Customize the component with these props

PropertyTypeDefaultDescription
faqs
Array<{q: string, a: string}>[]Array of FAQ items with question (q) and answer (a).
backgroundColor
string#eef0f4Background color (hex, rgb, or hsl).
title
stringJust ask.Section title text.
titleColor
string#475569Title text color.
cardBgColor
string#eef0f4Card background color.
cardTextColor
string#475569Card text color.
cardSubtextColor
string#64748bCard subtext/answer color.
iconColor
string#94a3b8Icon color.
activeIconBgColor
string#60a5faActive icon background color.
activeIconColor
string#ffffffActive icon color.
shadowLightColor
string#ffffffLight shadow color for neumorphic effect.
shadowDarkColor
string#d1d9e6Dark shadow color for neumorphic effect.

When to Use

Excellent for playful brand identities, educational platforms, and Next.js applications that want a tactile, 'squishy' aesthetic. Use this React component for a 3D-feeling FAQ section with soft claymophic shadows and rounded UI elements.

Best Practices

Maintain consistent spacing within your design system by pairing this with pastel colors and soft typography. Follow React best practices by using high-contrast colors for the active icon state. Optimize for performance by using efficient box-shadow combinations for the 3D effect.

Why This Component Matters in Modern UI Development

Claymorphism adds a unique tactile dimension to digital interfaces, making them feel more interactive and approachable. This production-ready component helpsคุณ build an interface that stands out through its unique 3D visual language.

Frequently Asked Questions

QWhat is claymorphism?

It is a design trend that uses multiple inner and outer shadows to create a soft, 3D 'clay-like' appearance for UI elements.

QCan I use it in dark mode?

Yes, you can customize the background and shadow colors to create 'dark clay' aesthetics while maintaining the soft 3D look.

QDoes it work on mobile?

Absolutely, the shadows and rounded corners scale perfectly across all screen sizes for a consistent tactile experience.

Clay Morphic - React FAQ & Accordion Component | Uilora