This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
AccessoryWidgetBackground
A SwiftUI adaptive background view that provides a standard appearance based on the widget's environment.
iOS
Included in Expo Go
Expo UI AccessoryWidgetBackground matches the official SwiftUI AccessoryWidgetBackground API and creates an adaptive background view that provides a standard appearance based on the widget's environment.
Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Basic accessory widget background
BasicAccessoryWidgetBackground.tsx
API
import { AccessoryWidgetBackground } from '@expo/ui/swift-ui';
Component
Type: React.Element<CommonViewModifierProps>