Quick Install
Terminal
npx expo install expo-linear-gradient

Target Dependencies & Architecture

expo-linear-gradient@~15.0.7
Buttons & Toggles

Theme picker micro-interaction

color interpolationreact native reanimatedmicro interactionreact native reanimated 3theme pickerreact native circular pickerreact native circular menumaththeme switch

Interaction & Gesture Mechanics

Leveraging the power of Math.cos and Math.sin functions alongside the advanced capabilities of Reanimated 3, this react native animation showcases a mesmerizing display of floral elegance. Each leaf of the animated flower gracefully spirals in a dynamically calculated motion, orchestrated by precise mathematical algorithms. Written in TypeScript and designed as a reusable and highly customizable react native animated component, you can seamlessly integrate the Flower Animation/Theme Picker micro-interaction animation into your projects, leveraging specific parameters such as: - `leafs` to define the number of leaves - `size` to set the dimensions - `duration` to control animation speed - `initialActiveIndex` to highlight a default leaf, - `gradients` to apply custom color gradients - `onPress` for touch interactivity , triggering a callback with the index of the selected leaf.

Import directly via AI Coding Agents

Use RafayLabs Animation MCP to search, adapt, and insert this animation into your screens automatically in Cursor, Claude Code, or VS Code.

Connect Animation MCP

Related UI Motion Components

More animations in Buttons & Toggles

View All Animations →
Color Switch - Animated color theme - React Native Moti
Free ComponentButtons & Toggles

Color Switch - Animated color theme - React Native Moti

Color Switch - Animated color theme - React Native Moti

reanimated2react native motitheme switch
Reanimated 4
Preview & Code
Custom Button state animation - enable - disable animation
Free ComponentButtons & Toggles

Custom Button state animation - enable - disable animation

Custom Button state animation - enable - disable animation

react native animationsreanimated2react native reanimated
Reanimated 4
Preview & Code
Fab button - React Native Moti
Free ComponentButtons & Toggles

Fab button - React Native Moti

Fab button - React Native Moti

react native animationsfab buttonmicro interaction
Reanimated 4
Preview & Code