This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Box
A Jetpack Compose Box component for stacking child elements.
Android
Included in Expo Go
Expo UI Box matches the official Jetpack Compose Box API and stacks children on top of each other with configurable content alignment.


Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Box stacks children on top of each other. Use contentAlignment to position them within the box.
BoxExample.tsx
API
import { Box } from '@expo/ui/jetpack-compose';
Component
Optional • Type:
FloatingToolbarExitAlwaysScrollBehaviorScroll behavior for the floating toolbar exit.