[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/pythonnative/pythonnative/v0.43.1/docs/api/animated.md [Back]  [Original]

# Animated

PythonNative's `Animated` API mirrors React Native's. Build performant
animations declaratively by binding [`AnimatedValue`][pythonnative.AnimatedValue]
instances to the `style` of an `Animated.View`, `Animated.Text`, or
`Animated.Image`. The reconciler holds a `ref` to the underlying
native view. Connected values, derived expressions, and style bindings
form a graph evaluated by the renderer, so supported animations bypass
Python reconciliation on each frame. Unattached values, Python listeners,
callable easing functions, and backends that decline native animation use
the Python ticker.

::: pythonnative.animated
    options:
      show_root_heading: false
      show_root_toc_entry: false
      members_order: source
      filters: ["!^_"]
      show_if_no_docstring: true

## See also

- The [Animations guide](../guides/animations.md) walks through
  fade-ins, springs, sequences, and gesture-driven animations.
- [`use_ref`][pythonnative.use_ref] explains the `ref` semantics that
  back `Animated.View`.

Web Proxy Viewer  |  New URL  |  Original Page