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

# Android Tablet

> A Galaxy Tab S11 or Pixel Tablet frame at its real size, wide or upright. Put your app screen in it.

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

## When to use it

Best for: A real Android app on a large screen, in a Pixel Tablet or Galaxy Tab frame.

- Use it in landscape (default) for a two-pane layout.
- Use `orientation="portrait"` for a reading or a form layout.

## When not to use it

- For an iPad, use the [iPad](https://gelatinui.com/components/ipad.md).
- For a phone layout, use the [Android Phone](https://gelatinui.com/components/android-phone.md).

## Notes for agents

- Compose `AndroidTabletScreen` first, then `AndroidStatusBar variant="tablet"` and `AndroidGestureHandle variant="tablet"`.
- The screen is the real dp size (1280 × 800 dp in landscape). The camera sits in the bezel, so it is part of the hardware.

## Anatomy

```text
AndroidTablet
└─ AndroidTabletScreen (0..n)
```

## API reference

### AndroidTablet

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `model` | `"galaxy-tab-s11" \| "pixel-tablet"` | "pixel-tablet" | The model: its size, screen corner, camera, and keys. Default `pixel-tablet`. |
| `finish` | `"hazel" \| "moonstone-gray" \| "platinum-silver" \| "porcelain" \| "rose"` |  | The frame color. |
| `orientation` | `"landscape" \| "portrait"` | "landscape" | `portrait` turns the tablet right: the camera is on the right. Default `landscape`. |

### AndroidTabletScreen

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

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| AndroidTablet | `android-tablet` |  | `--device-frame`, `--device-key`, `--device-rim` |  |
| AndroidTabletScreen | `android-tablet-screen` |  |  |  |

## Usage

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

```tsx title="tablet-screenshot.tsx"
import { AndroidGestureHandle, AndroidStatusBar } from "@/components/mockups/android-status-bar";
import { AndroidTablet, AndroidTabletScreen } from "@/components/mockups/android-tablet";

export function TabletScreenshot() {
  return (
    <AndroidTablet model="pixel-tablet" className="w-full max-w-2xl">
      <AndroidTabletScreen>
        <div className="size-full bg-white pt-(--safe-area-top)">Your app</div>
      </AndroidTabletScreen>
      <AndroidStatusBar variant="tablet" glyphs="dark" />
      <AndroidGestureHandle variant="tablet" glyphs="dark" />
    </AndroidTablet>
  );
}
```

## 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-tablet
```

It adds 8 registry items: 8 files, 824 lines, and the npm packages `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 Phone](https://gelatinui.com/components/android-phone.md)
- [Android Status Bar](https://gelatinui.com/components/android-status-bar.md)
- [iPad](https://gelatinui.com/components/ipad.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.
