---
title: "Android Status Bar"
description: "The Android 16 status bar and gesture handle for a phone or tablet mockup, with dark or light icons."
url: https://gelatinui.com/components/android-status-bar
markdown_url: https://gelatinui.com/components/android-status-bar.md
access: free
install: "npx shadcn@latest add @gelatin-ui/android-status-bar"
registry_item: https://gelatinui.com/r/android-status-bar.json
version: "2026-11-10"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Android Status Bar

> The Android 16 status bar and gesture handle for a phone or tablet mockup, with dark or light icons.

Page: https://gelatinui.com/components/android-status-bar

## When to use it

Best for: The Android status bar and gesture handle on an Android Phone or Android Tablet mockup.

- Use `glyphs="dark"` on a light app and `glyphs="light"` on a dark app or a photo.
- Use `variant="tablet"` on a tablet: a 36 dp bar.

## When not to use it

- For an iOS screen, use the [iOS Status Bar](https://gelatinui.com/components/ios-status-bar.md).

## Notes for agents

- Inside a device frame, put it after the screen part: the frame places it and gives it the cutout height and, in landscape, the clock start.
- Alone, it fills the width of its box, 68 dp tall on a phone. Set `height` to change it.
- The glyphs are pictures: screen readers skip them.

## Anatomy

```text
AndroidStatusBar
└─ AndroidGestureHandle (0..n)
```

## API reference

### AndroidStatusBar

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `glyphs` | `"dark" \| "light"` |  |  |
| `variant` | `"phone" \| "tablet"` | "phone" |  |
| `time` | `string` | "10:24" | The clock, as the device shows it. Default "10:24". |
| `height` | `number` |  | The bar height in dp, for a model with another cutout. Default: the height of the device frame around it, else 68 (`phone`) or 36 (`tablet`). |
| `battery` | `number` | 73 | The battery level from 0 to 100. |

### AndroidGestureHandle

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `glyphs` | `"dark" \| "light"` |  |  |
| `variant` | `"phone" \| "tablet"` | "phone" |  |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| AndroidStatusBar | `android-status-bar` |  | `--android-status-bar-height`, `--android-status-bar-start`, `--device-status-height`, `--device-status-start` |  |
| AndroidGestureHandle | `android-gesture-handle` |  |  |  |

## Usage

Put it in an Android frame after the screen.

The sample also uses `android-phone`, which this add does not write. One command adds them with this item:

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

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

export function AndroidStatus() {
  return (
    <AndroidPhone className="w-72">
      <AndroidPhoneScreen>Your app</AndroidPhoneScreen>
      <AndroidStatusBar glyphs="light" time="21:07" />
      <AndroidPhoneCamera />
      <AndroidGestureHandle glyphs="light" />
    </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-status-bar
```

It adds 3 registry items: 3 files, 222 lines, and the npm packages `tailwind-merge`, `tailwind-variants`.

## 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 Tablet](https://gelatinui.com/components/android-tablet.md)
- [iOS Status Bar](https://gelatinui.com/components/ios-status-bar.md)

## Accessibility

The status bar and the gesture handle are pictures of system UI, hidden from screen readers.
