This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
BadgedBox
A Jetpack Compose BadgedBox component for overlaying badges on content.
Android
Included in Expo Go
Expo UI BadgedBox matches the official Jetpack Compose BadgedBox API. It overlays a badge on top of content such as an icon.


Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Icon with badge count
IconWithBadge.tsx
Interactive counter
InteractiveBadge.tsx
API
import { BadgedBox } from '@expo/ui/jetpack-compose';
Component
Type: React.Element<BadgedBoxProps>
A badged box matching Compose's BadgedBox.
Overlays a badge on top of content (for example, an icon).