Apple iPad
Apple iPad: iPad Air frame with metallic bezel, top-edge buttons, and a full-screen preview slot. Pass variant for space gray, space black, silver, starlight, blue, purple, pink, or yellow finishes. Use visibleRatio to crop from the top, and showCamera to toggle the front camera dot. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Apple iPad
npx motion-ui-skill add ipadComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Apple iPad
iPad Air frame with metallic bezel, top-edge buttons, and a full-screen preview slot. Pass variant for space gray, space black, silver, starlight, blue, purple, pink, or yellow finishes. Use visibleRatio to crop from the top, and showCamera to toggle the front camera dot.
Install
npx motion-ui-skill add ipad
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { IpadMockupCard } from "@/components/mockups/tablet-mockup-card";
export function IpadMockupCardDemo() {
return (
<div className="flex items-center justify-center p-6">
<IpadMockupCard />
</div>
);
}
API Reference
IpadMockupCard
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |