This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Icon
A Jetpack Compose Icon component for displaying icons.
Android
Recommended version:
~55.0.17
An icon component for rendering icons in Jetpack Compose. We recommend downloading icons as XML vector drawables from Material Symbols, which is the standard approach for Android development.
Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Basic icon
Use require() to load an XML vector drawable downloaded from Material Symbols.
BasicIcon.tsx
Icon with tint
Use the tint prop to apply a color overlay to the icon.
TintedIcon.tsx
Icon with size
Specify a custom size in dp using the size prop.
SizedIcon.tsx
API
import { Icon } from '@expo/ui/jetpack-compose';
No API data file found, sorry!