The capsule menu
| Property | Value |
|---|---|
| Size | 73 × 30 px |
| Top offset | 8 px |
| Right offset | 8 px |
| Shape | Pill (fully rounded) |

Using the SDK
@mentra/react exposes the capsule’s bounding rect and a derived safeAreaTop value so your layout can adjust without hardcoding pixels. Outside MentraOS (e.g. a browser preview), the rect is null and safeAreaTop is 0, so your app renders normally.
useCapsuleMenu hook
Most apps just need enough top padding to clear the capsule:
safeAreaTop is rect.bottom + 8 when inside MentraOS, 0 otherwise.
getCapsuleMenuRect()
For fine-grained layout (e.g. positioning a header exactly next to the capsule), read the full rect:
CapsuleMenuRect type:
Next Steps
React Webviews
Build webviews with @mentra/react
Hardware Capabilities
Check device display capabilities

