This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Label
A SwiftUI Label component for displaying text with an icon.
iOS
tvOS
Included in Expo Go
Recommended version:
~56.0.26
Expo UI Label matches the official SwiftUI Label API and displays a title alongside an icon.


Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Basic label with SF Symbol
BasicLabelExample.tsx
With custom icon
Use the icon prop to provide a custom React node as the icon instead of an SF Symbol.
LabelCustomIconExample.tsx
Icon only
Use the labelStyle modifier with iconOnly to display only the icon. Always provide a title for accessibility even though it won't be visible.
LabelIconOnlyExample.tsx
API
import { Label } from '@expo/ui/swift-ui';
No API data file found, sorry!