Component recipe · Claude Design source
Scrapbook Frame for Claude Design
Photo frame with scrapbook decoration
Component anatomy
Photo frame with scrapbook decoration
{
"element": "div",
"baseClasses": [
"bg-white",
"border-2 border-[#2d2d2d]",
"transition-all duration-200 ease-in-out",
"relative"
]
}Variants and parameters
Default
p-3 md:p-4 shadow-[5px_5px_0px_#2d2d2d] rotate-[0.5deg]
Polaroid
p-3 pb-12 md:p-4 md:pb-16 shadow-[4px_4px_0px_#2d2d2d] rotate-[-1deg]
Vintage
p-4 md:p-5 border-[#2d2d2d]/60 bg-[#f5f0e8] shadow-[4px_4px_0px_#9b59b6] rotate-[1deg]
Visible
boolean
Interaction states
{
"hover": [
"hover:rotate-0",
"hover:-translate-y-1",
"hover:shadow-[7px_7px_0px_#2d2d2d]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe