---
title: "Apple iPhone | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/phone"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/mockups/phone-mockup-card.tsx"
install_command: "npx motion-ui-skill add phone"
dependencies: ["clsx","react","tailwind-merge"]
category: "craft"
subcategory: "mockups"
---

# 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

```bash
npx motion-ui-skill add phone
```

## Dependencies

- `clsx`
- `react`
- `tailwind-merge`

## Usage

```tsx
"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 |

## Source Files

- [components/mockups/phone-mockup-card.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/mockups/phone-mockup-card.tsx)
- [lib/cn.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/cn.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
