Aperçu en direct, exécutant exactement le code que contient le prompt
InterrupteursÉcran Compatible Expo GoGratuit
Async Switch
A switch backed by a request, which is nearly every switch in a real app. It moves immediately and rolls back visibly on failure, because waiting feels broken and moving without checking leaves the control silently lying about what was saved.
Collez dans Claude Code, Cursor ou Windsurf. Ça construit cet écran à l'identique dans votre app.
Ce qui est inclus
- Fichiers
- 2 fichiers
- Dépendances
- @expo-google-fonts/inter, react-native-reanimated, react-native-safe-area-context
- Polices
- @expo-google-fonts/inter
- Compatibilité
- Expo SDK 52+, fonctionne dans Expo Go
- Mis à jour
- 2026-09-06
La règle que suit ce design
Il est livré exactement comme l'aperçu : mêmes couleurs, même typographie, même texte, même animation. Le prompt indique à votre agent de le construire ainsi, sans l'adapter à votre thème existant.



