zahid ansari
Building scalable systems by applying mental models to code and architecture.
Website
Install this app to stay connected and in the loop.
Building meaningful experiences one pixel at a time 😉.
Made with by Zahid
views
zahid ansari
Building scalable systems by applying mental models to code and architecture.
Website
Install this app to stay connected and in the loop.
Building meaningful experiences one pixel at a time 😉.
Made with by Zahid
views

Share
Gorhom Bottom Sheet is one of the smoothest, most flexible UI components in React Native. In this post, I’ll share why I loved using it in my Expo app, how to get started, and where it truly shines.
When I was building my app in Expo, I stumbled upon a gem that instantly made my UI feel more modern and interactive: Gorhom Bottom Sheet. And let me tell you—it worked like magic.
Honestly? Everything.
If you’re using Expo, setup is a breeze. Just install the required packages:
1npx expo install @gorhom/bottom-sheet react-native-reanimated react-native-gesture-handlerDon’t forget to wrap your app with
1GestureHandlerRootView1react-native-reanimated1babel.config.jsHere’s a minimal example to get you started:
1import React, { useRef, useMemo } from 'react';
2import { View, Text, Button } from 'react-native';
3import BottomSheet from '@gorhom/bottom-sheet';
4
5const MyBottomSheet = () => {
6 const sheetRef = useRef<BottomSheet>(null);
7 const snapPoints = useMemo(() => ['25%', '50%'], [])
8
9 return (
10 <>
11 <Button title="Open Bottom Sheet" onPress={() => sheetRef.current?.expand()} />
12 <BottomSheet
13 ref={sheetRef}
14 index={-1}
15 snapPoints={snapPoints}
16 >
17 <View style={{ padding: 20 }}>
18 <Text>This is a bottom sheet!</Text>
19 </View>
20 </BottomSheet>
21 </>
22 )
23 };I used it for a calendar day configuration UI—where tapping on a day opens a bottom sheet to let users set working hours or mark a holiday. It looked so clean and felt incredibly smooth. No jank, no lag, just a slick user experience.
If you're building with React Native or Expo, Gorhom Bottom Sheet is 100% worth adding to your toolkit. It took my app's UX to the next level without any extra headache.
Tech Stack: React Native, Expo, Gorhom Bottom Sheet, React Native Reanimated