Component recipe · Claude Design source
Geometric Decorator for Claude Design
Decorative element with primary color geometric shapes following Bauhaus principles
Component anatomy
Decorative element with primary color geometric shapes following Bauhaus principles
{
"element": "div",
"baseClasses": [
"inline-flex items-center justify-center",
"border-2 border-black",
"transition-opacity duration-200"
]
}Variants and parameters
Circle
w-16 h-16 md:w-20 md:h-20 rounded-full bg-[#dd0000]
Triangle
w-0 h-0 border-l-[32px] border-l-transparent border-r-[32px] border-r-transparent border-b-[56px] border-b-[#ffd700] border-t-0 border-black/0
Square
w-16 h-16 md:w-20 md:h-20 rounded-none bg-[#0057b8]
Visible
boolean
Interaction states
{
"hover": [
"hover:opacity-80"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe