Skip to main
maudeMDCC/00
Design commands

/design:to-rn

FALLBACK — generate a native react-native-svg + Reanimated component from the IR for LIGHT/occasional animation. For rich/continuous morph use `/design:to-lottie` (rn-svg has a perf ceiling, `feTurbulence` has no native impl).

PropertyValue
Command/design:to-rn
Categorydaily (daily)
Argument hint\"<animated mark | IR handle | canvas>\" [--out <Component.tsx>]
Sourceplugins/design/commands/to-rn.md

Description

FALLBACK — generate a native react-native-svg + Reanimated component from the IR for LIGHT/occasional animation. For rich/continuous morph use /design:to-lottie (rn-svg has a perf ceiling, feTurbulence has no native impl).

Invocation

snippet
/design:to-rn \"<animated mark | IR handle | canvas>\" [--out <Component.tsx>]

Summary

The fallback motion handoff for light / occasional animation where you want a native react-native-svg + Reanimated component instead of a Lottie runtime (DDR-094).

Source of truth

On this page