---
title: "Android Phone"
description: "A Pixel 11 Pro, Pixel 11 Pro XL, Galaxy S26 Ultra, or plain Android phone frame at its real size. Put your app screen in it."
url: https://gelatinui.com/components/android-phone
markdown_url: https://gelatinui.com/components/android-phone.md
access: free
install: "npx shadcn@latest add @gelatin-ui/android-phone"
registry_item: https://gelatinui.com/r/android-phone.json
version: "2026-11-10"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Android Phone

> A Pixel 11 Pro, Pixel 11 Pro XL, Galaxy S26 Ultra, or plain Android phone frame at its real size. Put your app screen in it.

Page: https://gelatinui.com/components/android-phone

## When to use it

Best for: A real Android app screen in a Pixel or Galaxy frame at the real dp size.

- Use `model="generic"` when the brand of the phone must not show.
- Use `orientation="landscape"` for a video or a game: the clock moves past the camera hole.

## When not to use it

- For an iPhone, use the [iPhone](https://gelatinui.com/components/iphone.md).
- For a large screen, use the [Android Tablet](https://gelatinui.com/components/android-tablet.md).

## Notes for agents

- Compose `AndroidPhoneScreen` first, then `AndroidStatusBar`, `AndroidPhoneCamera`, and `AndroidGestureHandle`. With no children, the frame shows its system UI at rest.
- The screen is the real dp size (427 × 952 dp on Pixel 11 Pro). Use container queries in the app.
- The Galaxy S26 Ultra corners, hole, and keys are estimated from the S25 Ultra and the spec sheets.

## Anatomy

```text
AndroidPhone
├─ AndroidPhoneScreen (0..n)
└─ AndroidPhoneCamera (0..n)
```

## API reference

### AndroidPhone

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `model` | `"galaxy-s26-ultra" \| "generic" \| "pixel-11-pro" \| "pixel-11-pro-xl"` | "pixel-11-pro" | The model: its size, screen corner, hole, and keys. Default `pixel-11-pro`. |
| `finish` | `"black" \| "canyon" \| "cobalt-violet" \| "fog" \| "obsidian" \| "olive" \| "pink-gold" \| "silver-shadow" \| "sky-blue" \| "white"` |  | The frame color. |
| `orientation` | `"landscape" \| "portrait"` | "portrait" | `landscape` turns the phone left: the hole is on the left, the keys on the top. |

### AndroidPhoneScreen

No props of its own: `className`, `children`, and every other prop go to the element it renders.

### AndroidPhoneCamera

No props of its own: `className`, `children`, and every other prop go to the element it renders.

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| AndroidPhone | `android-phone` |  | `--android-phone-camera-left`, `--android-phone-camera-size`, `--android-phone-camera-top`, `--device-frame`, `--device-key`, `--device-rim` |  |
| AndroidPhoneScreen | `android-phone-screen` |  |  |  |
| AndroidPhoneCamera | `android-phone-camera` |  | `--android-phone-camera-left`, `--android-phone-camera-size`, `--android-phone-camera-top` |  |

## Usage

Put your app in the screen, then add the status bar, the camera, and the handle.

```tsx title="android-screenshot.tsx"
import {
  AndroidPhone,
  AndroidPhoneCamera,
  AndroidPhoneScreen,
} from "@/components/mockups/android-phone";
import { AndroidGestureHandle, AndroidStatusBar } from "@/components/mockups/android-status-bar";

export function AndroidScreenshot() {
  return (
    <AndroidPhone model="pixel-11-pro" className="w-72">
      <AndroidPhoneScreen>
        <div className="size-full bg-white pt-(--safe-area-top)">Your app</div>
      </AndroidPhoneScreen>
      <AndroidStatusBar glyphs="dark" />
      <AndroidPhoneCamera />
      <AndroidGestureHandle glyphs="dark" />
    </AndroidPhone>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui/android-phone
```

It adds 9 registry items: 9 files, 877 lines, and the npm packages `clsx`, `tailwind-merge`, `tailwind-variants`.

## Built on

- [Android Status Bar](https://gelatinui.com/components/android-status-bar.md)
- [Device Frame](https://gelatinui.com/components/device-frame.md)

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Android Tablet](https://gelatinui.com/components/android-tablet.md)
- [Android Status Bar](https://gelatinui.com/components/android-status-bar.md)
- [iPhone](https://gelatinui.com/components/iphone.md)
- [Device Frame](https://gelatinui.com/components/device-frame.md)

## Accessibility

The hardware and the system UI are hidden from screen readers. The app on the screen is read.

The root is a figure named after the model. Set `aria-label` to name it after your app.
