All Projects → JungHsuan → react-native-gesture-flip-card

JungHsuan / react-native-gesture-flip-card

Licence: MIT license
A card flipping animation component using gesture for react-native.

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language
Starlark
911 projects

Projects that are alternatives of or similar to react-native-gesture-flip-card

flip view
A Flutter app with flip animation to view profiles of friends. 🌟
Stars: ✭ 69 (-25.81%)
Mutual labels:  card, flip, flip-animation
MTG-Card-Reader
Reads a Magic: The Gathering card in front of a webcam and identifies it in an existing database of cards of a user-specified set.
Stars: ✭ 32 (-65.59%)
Mutual labels:  card
fusuma-plugin-tap
Tap and Hold gestures plugin for Fusuma
Stars: ✭ 16 (-82.8%)
Mutual labels:  gesture
liveGestureDemo
仿映客双屏直播,OpenCV 竖屏检测,人脸贴纸
Stars: ✭ 26 (-72.04%)
Mutual labels:  gesture
Unity-Trello
☑️️ Generate Trello cards directly from Unity
Stars: ✭ 34 (-63.44%)
Mutual labels:  card
Margoulineur2000
NFC
Stars: ✭ 24 (-74.19%)
Mutual labels:  card
curl-worker
No description or website provided.
Stars: ✭ 42 (-54.84%)
Mutual labels:  card
gesto
You can set up drag, pinch events in any browser.
Stars: ✭ 47 (-49.46%)
Mutual labels:  gesture
gestures
A library for normalized events and gesture for desktop and mobile.
Stars: ✭ 31 (-66.67%)
Mutual labels:  gesture
HandTrackingGestureRecorder
Unity script to record any gesture with your own hands
Stars: ✭ 74 (-20.43%)
Mutual labels:  gesture
Sensitive
Special way to work with gestures in iOS
Stars: ✭ 549 (+490.32%)
Mutual labels:  gesture
KoiCatalog
A card manager for Koikatu. View, search, and sort your collection of character cards.
Stars: ✭ 18 (-80.65%)
Mutual labels:  card
CircularCardsStackView
CircularCardsStackView is an Android library for dealing with swipeable card views.
Stars: ✭ 30 (-67.74%)
Mutual labels:  card
SpiderCard
蜘蛛纸牌 for mac
Stars: ✭ 29 (-68.82%)
Mutual labels:  card
PyFlashAero
Python scripts for using the Toshiba® FlashAir® Wifi SD Cards on Linux, you may also have a look at my other JavaScript based project https://github.com/cyborg-x1/JSFlashAero which can be installed on the card and used in browser, but it is not that advanced right now.
Stars: ✭ 34 (-63.44%)
Mutual labels:  card
bootstrap-grid-card
Bootstrap grid in Lovelace UI
Stars: ✭ 25 (-73.12%)
Mutual labels:  card
fullscreen-card
Make your Home Assistant browser fullscreen with one tap.
Stars: ✭ 23 (-75.27%)
Mutual labels:  card
simple gesture detector
Easy to use, reliable and lightweight gesture detector for Flutter apps, exposing simple API for basic gestures
Stars: ✭ 26 (-72.04%)
Mutual labels:  gesture
Flashcard-Maker-Android
Flashcard Maker is a study app that helps to create e-flashcards. It is more convenient to have flashcards on your phone so that you don't carry all the paperwork. You can prepare flashcards in your PC as CSV file and import it from the app.
Stars: ✭ 55 (-40.86%)
Mutual labels:  card
react-native-card-button
Fully customizable Card Button via Paraboly for React Native.
Stars: ✭ 16 (-82.8%)
Mutual labels:  card

react-native-gesture-flip-card

npm version

Flip card animation using gesture for React Native.

2022-03-16

  1. Update example to use react-native 0.67.3
  2. Use LogBox to ignore unnecessary warnings. (To use LogBox you need to upgrade react-native to at least 0.63 )

Installation

  npm install --save react-native-gesture-flip-card

Simple Preview

App preview App preview

Minimal Usage

import GestureFlipView from 'react-native-gesture-flip-card';
<View style={styles.container}>
  <GestureFlipView width={300} height={500}>
    {renderBack()}
    {renderFront()}
    </GestureFlipView>
</View>

const renderFront = () => {
  return (
    <View style={styles.frontStyle}>
      <Text style={{fontSize: 25, color: '#fff'}}>{'Front'}</Text>
    </View>
  );
};

const renderBack = () => {
  return (
    <View style={styles.backStyle}>
      <Text style={{fontSize: 25, color: '#fff'}}>{'Back'}</Text>
    </View>
  );
};

Detail

Props

Props type description required default
width number width of view true
height number height of view true
onFlipEnd function callback on end of flip false
perspective number perspective of the view false -1000
gestureEnabled bool enable or disable gestures false true

Method

name description args
flipLeft flip the card counterclockwise
flipRight flip the card clockwise
<GestureFlipView
  ref={(ref) => (viewRef.current = ref)}
  gestureEnabled={enable}
  width={300}
  height={500}>
  {renderBack()}
  {renderFront()} />
viewRef.current.flipLeft();  // counterclockwise
viewRef.current.flipRight(); // clockwise
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].