Getting Started
IntroductionUsage
OverviewSvgLinear GradientCustom ComponentsTransform OriginAnimate PropsConfigurationTailwind CSSAnimate PresenceResources
CaveatsTypescriptNext.jsTypescript
Legend-Motion tries to be as strongly typed as possible, with the animate
prop autocompleting the available styles of the component, animateProps
autocompleting the component's props, and the transition
prop autocompleting only the properties that are animated.
If types are not working please ensure that you've installed both @types/react
and @types/react-dom
.
npm
yarn
npm i @types/react @types/react-native