Component recipe · Claude Design source
Cloud Motif for Claude Design
Decorative divider with traditional Chinese cloud pattern styling
Component anatomy
Decorative divider with traditional Chinese cloud pattern styling
{
"element": "div",
"baseClasses": [
"relative",
"w-full",
"h-px",
"my-6",
"before:content-['']",
"before:absolute",
"before:left-1/2",
"before:-translate-x-1/2",
"before:-top-1.5",
"before:w-8",
"before:h-3",
"before:rounded-[50%_50%_50%_50%/60%_60%_40%_40%]",
"before:shadow-[12px_-1px_0_4px_currentColor/10,-12px_-1px_0_4px_currentColor/10]",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Default
bg-[#c9a227]/30 before:bg-[#c9a227]/20 before:shadow-[0_0_8px_rgba(201,162,39,0.3)] shadow-[0_0_6px_rgba(201,162,39,0.2)]
Golden
bg-[#c9a227]/50 before:bg-[#c9a227]/30 before:shadow-[0_0_10px_rgba(201,162,39,0.5)] shadow-[0_0_8px_rgba(201,162,39,0.3)]
Jade
bg-[#00d4ff]/30 before:bg-[#00d4ff]/20 before:shadow-[0_0_10px_rgba(0,212,255,0.4)] shadow-[0_0_6px_rgba(0,212,255,0.2)]
Visible
boolean
Interaction states
{
"hover": [
"hover:shadow-[0_0_12px_rgba(201,162,39,0.4)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe