React Native Reanimated 4.0 comes with a support for an API similar to CSS Animations and Transitions. Currently available in Beta.
function App() {
return (
<Animated.View
style={{
transitionProperty: 'width',
transitionDuration: 300,
}}
/>
);
}
Check out the Reanimated 4 documentation for more information.