Jetpack Compose Ask AI Jetpack Compose components for building native Android interfaces with @expo/ui. Bundled version: ~0.2.0-beta.7 Copy This library is currently in alpha and will frequently experience breaking changes. It is not available in the Expo Go app — use development builds to try it out. The Jetpack Compose components in @expo/ui/jetpack-compose allow you to build fully native Android interfaces using Jetpack Compose from React Native. Installation Terminal Copy npx expo install @expo/ui If you are installing this in an existing React Native app, make sure to install expo in your project. Components Button Android Code import { Button } from '@expo/ui/jetpack-compose'; See also: official Jetpack Compose documentation CircularProgress Android Code import { CircularProgress } from '@expo/ui/jetpack-compose'; See also: official Jetpack Compose documentation ContextMenu Note: Also known as DropdownMenu. Android Code import { ContextMenu } from '@expo/ui/jetpack-compose'; setSelectedIndex(index)} /> Show More See also: official Jetpack Compose documentation Chip Android Code import { Chip } from '@expo/ui/jetpack-compose'; // Assist chip with icon console.log('Opening flight booking...')} /> // Filter chip with selection handleFilterToggle('Images')} /> // Input chip with dismiss handleInputDismiss('Work')} /> // Suggestion chip console.log('Searching nearby...')} /> Show More See also: official Jetpack Compose documentation DateTimePicker (date) Android Code import { DateTimePicker } from '@expo/ui/jetpack-compose'; { setSelectedDate(date); }} displayedComponents='date' initialDate={selectedDate.toISOString()} variant='picker' /> See also: official Jetpack Compose documentation DateTimePicker (time) Android Code import { DateTimePicker } from '@expo/ui/jetpack-compose'; { setSelectedDate(date); }} displayedComponents='hourAndMinute' initialDate={selectedDate.toISOString()} variant='picker' /> See also: official Jetpack Compose documentation LinearProgress Android Code import { LinearProgress } from '@expo/ui/jetpack-compose'; See also: official Jetpack Compose documentation Picker (radio) Android Code import { Picker } from '@expo/ui/jetpack-compose'; { setSelectedIndex(index); }} variant="radio" /> See also: official Jetpack Compose documentation Picker (segmented) Android Code import { Picker } from '@expo/ui/jetpack-compose'; { setSelectedIndex(index); }} variant="segmented" /> See also: official Jetpack Compose documentation Slider Android Code import { Slider } from '@expo/ui/jetpack-compose'; { setValue(value); }} /> See also: official Jetpack Compose documentation Switch (toggle) Note: also known as Toggle. Android Code import { Switch } from '@expo/ui/jetpack-compose'; { setChecked(checked); }} color="#ff0000" label="Play music" variant="switch" /> See also: official Jetpack Compose documentation Switch (checkbox) Android Code import { Switch } from '@expo/ui/jetpack-compose'; { setChecked(checked); }} label="Play music" color="#ff0000" variant="checkbox" /> See also: official Jetpack Compose documentation TextInput Android Code import { TextInput } from '@expo/ui/jetpack-compose'; See also: official Jetpack Compose documentation API Full documentation is not yet available. Use TypeScript types to explore the API. // Import from the Jetpack Compose package import { Button } from '@expo/ui/jetpack-compose';