expo / skills
expo-native-ui
Build native-feeling Expo screens: Apple HIG styling, semantic colors, native controls, SF Symbols, media, visual effects, gradients and responsive layout.
Install
npx skills add https://github.com/expo/skills --skill expo-native-uiMedia
Camera
- Hide navigation headers when there's a full screen camera
- Ensure to flip the camera with
mirrorto emulate social apps - Use liquid glass buttons on cameras
- Icons:
arrow.triangle.2.circlepath(flip),photo(gallery),bolt(flash) - Gate the camera behind an explanation screen with a Grant button (as below) — never fire the permission prompt on mount
- Lazily request media library permission (at first save/pick)
The example uses the GlassButton helper defined in visual-effects.md (Glass Buttons section).
Audio Playback
Use expo-audio not expo-av:
Audio Recording (Microphone)
Video Playback
Use expo-video not expo-av:
VideoView options:
allowsPictureInPicture: booleancontentFit: 'contain' | 'cover' | 'fill'nativeControls: booleanplaysInline: booleanstartsPictureInPictureAutomatically: boolean
Saving Media
Saving Base64 Images
MediaLibrary.saveToLibraryAsync only accepts local file paths. Save base64 strings to disk first: