Put it in a device frame after the screen.
The sample also uses iPhone. One command adds them with this item:
status-bar.tsx
IosStatusBar
<div>| 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". |
| island | 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. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
IosHomeIndicator
<span>






