---
title: "iOS Status Bar"
description: "The iOS 26 and iPadOS 26 status bar for a mockup screen: time, signal, Wi-Fi, and battery around the Dynamic Island, with dark or light glyphs."
url: https://gelatinui.com/components/ios-status-bar
markdown_url: https://gelatinui.com/components/ios-status-bar.md
access: free
install: "npx shadcn@latest add @gelatin-ui/ios-status-bar"
registry_item: https://gelatinui.com/r/ios-status-bar.json
version: "2026-11-10"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# iOS Status Bar

> The iOS 26 and iPadOS 26 status bar for a mockup screen: time, signal, Wi-Fi, and battery around the Dynamic Island, with dark or light glyphs.

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

## When to use it

Best for: The iOS status bar and home indicator on an iPhone, iPhone Duo, or iPad mockup screen.

- Use `glyphs="dark"` on a light app and `glyphs="light"` on a dark app.
- Use `variant="pad"` on an iPad: a 24 pt bar with the time and the date.
- Leave it out in landscape on iPhone: iOS hides it there.

## When not to use it

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

## Notes for agents

- Inside a device frame, put it after the screen part: the frame places it, and it reads the island width from the frame.
- Alone, it fills the width of its box. Set `islandWidth` for the gap of the Dynamic Island.
- `battery` is 0 to 100. The glyphs are pictures: screen readers skip them.

## Anatomy

```text
IosStatusBar
└─ IosHomeIndicator (0..n)
```

## API reference

### IosStatusBar

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `glyphs` | `"dark" \| "light"` |  |  |
| `variant` | `"pad" \| "phone"` | "phone" |  |
| `time` | `string` | "9:41" | The time, as the device shows it. Default "9:41", Apple's keynote time. |
| `date` | `string` |  | The date after the time (`pad` only), for example "Sat Oct 31". |
| `islandWidth` | `number` |  | The width of the Dynamic Island in pt (`phone` only): the gap between the two ears. Default: the island of the device frame, else 126. |
| `battery` | `number` | 100 | The battery level from 0 to 100, red at 20 and below as on iOS. Default 100. |

### IosHomeIndicator

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

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| IosStatusBar | `ios-status-bar` |  | `--device-island-width`, `--ios-status-bar-island` |  |
| IosHomeIndicator | `ios-home-indicator` |  |  |  |

## Usage

Put it in a device frame after the screen.

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

```bash
npx shadcn@latest add @gelatin-ui/ios-status-bar @gelatin-ui/iphone
```

```tsx title="status-bar.tsx"
import { IosHomeIndicator, IosStatusBar } from "@/components/mockups/ios-status-bar";
import { Iphone, IphoneIsland, IphoneScreen } from "@/components/mockups/iphone";

export function StatusBar() {
  return (
    <Iphone className="w-72">
      <IphoneScreen>Your app</IphoneScreen>
      <IosStatusBar glyphs="dark" time="9:41" battery={80} />
      <IphoneIsland />
      <IosHomeIndicator />
    </Iphone>
  );
}
```

## 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/ios-status-bar
```

It adds 3 registry items: 3 files, 233 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

- [iPhone](https://gelatinui.com/components/iphone.md)
- [iPad](https://gelatinui.com/components/ipad.md)
- [iPhone Duo](https://gelatinui.com/components/iphone-duo.md)
- [Android Status Bar](https://gelatinui.com/components/android-status-bar.md)

## Accessibility

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