React Native Donut Shop for Expo
A dessert shop screen where the products roll. Swipe and the donuts roll across the carousel like wheels; "+" grows into a stepper and an add-to-cart bar rises; tap the donut and it zooms out to the edge of the screen, still turning, beside its nutrition. The donuts are drawn — icing, sprinkles, drizzle — with light that stays put while they spin, or pass your own round product art.
Also known as: food app screen, product detail screen, shop UI.
Customization
You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.
Design theme
Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).
Variants
Use the variant chips on the preview to switch examples; each maps to a demo you can copy from the Code tab.
Style props
React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).
- style
- StyleProp<ViewStyle> · default flex: 1Root style.
- className
- stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.
Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.
Props
| Prop | Type | Default |
|---|---|---|
| items { name, price, icing, topping?, toppingColor?, image?, nutrition? }. | DonutItem[] | 5 donuts |
| title Shop name, in a script face. | string | 'Dunats' |
| currency Prefix for prices. | string | '$' |
| background Page colour in light mode. | string | soft pink |
| initialIndex Donut shown first. | number | 0 |
| onIndexChange The centred donut changed. | (index: number) => void | — |
| onAddToCart Add to Cart pressed. | (item, quantity) => void | — |
| style Root style. | StyleProp<ViewStyle> | flex: 1 |
| className Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. | string | — |
FAQ
How do I make a food app screen in React Native?
Does Donut Shop work in Expo Go?
react-native-svg, expo-haptics) are all included in Expo Go.How do I add Donut Shop to my Expo app?
react-native-svg, expo-haptics, so the code is yours to change. The install command is on this page for Pro members.Is Donut Shop free?
npx @expokit/cli@latest login) and it installs the full source into your app.Can I change how Donut Shop looks?
useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit screen. The code lives in your project, so you can also edit anything directly.