Mobile | Apr 9, 202324,943 views
Animated Bottom Tab
Hello friend!
In this video we build animated bottom tabs with React Native and Reanimated. You'll start with the basic tab animation, then use Reanimated's layout animations for the parts that move in and out.
The same techniques work on any component, not just tabs.
Learn more about Layout Animations in the React Native Reanimated Docs
Dependencies
yarn add @react-navigation/bottom-tabs
yarn add @react-navigation/native
yarn add d3-shape
yarn add react-native-reanimated
yarn add react-native-redash
yarn add react-native-safe-area-context
yarn add react-native-screens
yarn add react-native-svg
yarn add react-native-vector-icons
yarn add @types/d3-shape
yarn add @types/react-native-vector-iconsMake sure you add the following to your file:
module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: ["react-native-reanimated/plugin"], // Add this line
};
};Also add this to your (for IOS)
<key>UIAppFonts</key>
<array>
<string>FontAwesome.ttf</string>
<string>Feather.ttf</string>
<string>AntDesign.ttf</string>
<string>Entypo.ttf</string>
<string>MaterialCommunityIcons.ttf</string>
</array>Links
Go back to Projects