Paper Fold
Paper Fold: Tactile cardstock with a diagonal crease, soft highlight, and shadow — invitations, stationery, and craft portfolios. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Paper Fold
npx motion-ui-skill add paper-fold-backgroundComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Paper Fold
Tactile cardstock with a diagonal crease, soft highlight, and shadow — invitations, stationery, and craft portfolios.
Install
npx motion-ui-skill add paper-fold-background
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { PaperFoldBackground } from "@/components/background-gradient/paper-fold-background";
export function PaperFoldBackgroundDemo() {
return (
<div className="flex items-center justify-center p-6">
<PaperFoldBackground />
</div>
);
}
API Reference
PaperFoldBackground
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |