Skip to content
  • Android
  • iOS
  • Web

Animation View

Bind engine animation values to a view.

Engine API AnimationViewnayan-ui/animations

Live examples

Example.tsx

Preparing preview…

Attributes

AnimationView attributes
NameTypeDefaultDetails
childrenReactNodeOptional
animatedStyleReadonly<Partial<Record<keyof ViewAnimationValues, number | SharedValue>>>Optional
initialPartial<ViewAnimationValues>Optional
styleCSSPropertiesOptional
refRef<AnimationViewRef>Optional
React Native API

React Native attributes

AnimationView react native attributes
NameTypeDefaultDetails
childrenReact.ReactNodeOptional
animatedStyleReadonly<Partial<Record<keyof ViewAnimationValues, number | SharedValue>>>Optional
initialPartial<ViewAnimationValues>Optional
style____ViewStyleProp_InternalOptional
refRef<AnimationViewRef>Optional
accessibilityLabelstringOptionalOverrides the text that's read by the screen reader when the user interacts with the element. By default, the label is constructed by traversing all the children and accumulating all the `Text` nodes separated by space. See https://reactnative.dev/docs/view#accessibilitylabel
Animations module

Tags