Apple iPhone

Apple iPhone: iPhone 15 Pro frame with Dynamic Island and a full-screen preview slot. Pass variant for purple, orange, white, titanium, or cherry finishes. Use visibleRatio to crop from the top, and showDynamicIsland to toggle the island and camera. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Apple iPhone

npx motion-ui-skill add phone

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Apple iPhone

iPhone 15 Pro frame with Dynamic Island and a full-screen preview slot. Pass variant for purple, orange, white, titanium, or cherry finishes. Use visibleRatio to crop from the top, and showDynamicIsland to toggle the island and camera.

Install

npx motion-ui-skill add phone

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { PhoneMockupCard } from "@/components/mockups/phone-mockup-card";

export function PhoneMockupCardDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <PhoneMockupCard />
    </div>
  );
}

API Reference

PhoneMockupCard

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category