Magic Button with React Native Skia ๐ช
Wednesday, May 8, 2024
Try the live demo
Scan to try on your device
Need the app?
demos
geometry-button
An ongoing collection of React Native animations crafted with Reanimated, Gesture Handler, and Skia.
TypeScript
3.2k
296
A button component with geometric animations and circle effects.
What's This About?
This component creates an interactive button that features geometric animations using multiple circles. When pressed, the button triggers a visual effect that combines circle animations to create an engaging user interaction. The component allows customization of the number of circles and button size to achieve different visual densities and effects.
Technical Implementation
The component uses:
Custom button handling
Circle animations
Size customization
Press interactions
Dynamic circle generation
Usage
// Basic usage with customization
<GeometryButton
circles={50}
size={100}
onPress={() => {
console.log('Button pressed');
}}
/>
Unlock the beauty of React Native animations
Learn Reanimated, Gesture Handler & Skia with Reanimate.dev
Feedback on Geometry Button
Ideas, bugs, or anything that felt off: I read every message. For anything else, write to hello@reactiive.io.
Send feedback