This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Surface
A Jetpack Compose Surface component for styled content containers.
Expo UI Surface matches the official Jetpack Compose Surface API and provides a container that applies Material Design surface styling including color, elevation, and content color.


Installation
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Basic surface
Surface with elevation
Use tonalElevation and shadowElevation to control the visual depth of the surface.
Surface with custom colors
Use the color and contentColor props to override the default Material theme colors.
Surface with shape and border
Use the shape prop to clip content and border to draw a stroke around the surface.
API
import { Surface } from '@expo/ui/jetpack-compose';
No API data file found, sorry!