Hard Shadow Polaroid Frame
Hard Shadow Polaroid Frame: Polaroid frame with a crisp inner border, thick caption chin, and hard offset shadow — pass caption and any image or video as children. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Hard Shadow Polaroid Frame
npx motion-ui-skill add hard-shadow-polaroid-frameComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Hard Shadow Polaroid Frame
Polaroid frame with a crisp inner border, thick caption chin, and hard offset shadow — pass caption and any image or video as children.
Install
npx motion-ui-skill add hard-shadow-polaroid-frame
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { HardShadowPolaroidFrame } from "@/components/frames/hard-shadow-polaroid-frame";
export function HardShadowPolaroidFrameDemo() {
return (
<div className="flex items-center justify-center p-6">
<HardShadowPolaroidFrame />
</div>
);
}
API Reference
HardShadowPolaroidFrame
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |