Native only
Camera
Available forNative
camera + library · falls back to a seeded Placeholder
Usage
Tap to take or choose a photo. Falls back to generated art wherever there is no camera — the web preview, the simulator, a declined permission — so the screen still reads as filled.
API
<PhotoCapture value? onChange? sources? shape="tile|avatar|wide" label? seed? simulate? />Get it
Already in every copy of the native kit:
import { PhotoCapture } from '@/components/kit/photo-capture';Details
- Exports
PhotoCapture- Packages
- expo-image-picker@~57.0.19, lucide-react-native@^1.21.0
- Installs with
- @kit-native/icon, @kit-native/lib-haptics, @kit-native/lib-native-context, @kit-native/lib-utils, @kit-native/placeholder, @kit-native/sheet, @kit-native/text, @kit-native/toast
- Also searched as
- camera, photo, image picker, upload, avatar photo, attachment
- Registry JSON
- /r/native/photo-capture.json
Agents: the whole registry is at /llms.txt.