All Projects → heyman333 → React Native Animated Numbers

heyman333 / React Native Animated Numbers

Licence: mit
🎰 Library showing animation of number changes in react-native

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to React Native Animated Numbers

Buttonprogressbar Ios
A small and flexible (well documented) UIButton subclass with animated loading progress, and completion animation.
Stars: ✭ 479 (+770.91%)
Mutual labels:  animated
Aiflatswitch
Nicely animated flat design switch alternative to UISwitch
Stars: ✭ 904 (+1543.64%)
Mutual labels:  animated
Animricheditor
rich text editor which enables users to insert/delete bitmaps and text into edit-view with animations.
Stars: ✭ 967 (+1658.18%)
Mutual labels:  animated
T Scroll
A modern reveal-on-scroll library with useful options and animations. (Animate Elements On Reveal)
Stars: ✭ 642 (+1067.27%)
Mutual labels:  animated
Gradientify
Create beautiful, animated gradients with ease. This JS library provides you with an easy-to-use API to create and put animated gradients wherever you want on your website.
Stars: ✭ 16 (-70.91%)
Mutual labels:  animated
Randomix
🎲 An open source app to choose randomly between numbers, answers, options and so on.
Stars: ✭ 24 (-56.36%)
Mutual labels:  animated
React Native Modal
An enhanced, animated, customizable Modal for React Native.
Stars: ✭ 4,671 (+8392.73%)
Mutual labels:  animated
Vue Slicksort
A set of vue mixins to turn any list into an animated, touch-friendly, sortable list ✌️
Stars: ✭ 1,010 (+1736.36%)
Mutual labels:  animated
React Native Animated Tabbar
A 60FPS animated tab bar with a variety of cool animation presets 😎
Stars: ✭ 890 (+1518.18%)
Mutual labels:  animated
React Awesome Button
React button component. Awesome button is a 3D UI, progress, social and share enabled, animated at 60fps, light weight, performant, production ready react UI button component. 🖥️ 📱
Stars: ✭ 943 (+1614.55%)
Mutual labels:  animated
Dypiechartview
Animated Pie Chart using Custom CALayer.
Stars: ✭ 5 (-90.91%)
Mutual labels:  animated
Numericaltextentry
An iOS library for beautiful number entry fields. iPad friendly. Written in Swift.
Stars: ✭ 16 (-70.91%)
Mutual labels:  animated
React Native Scrollable Tab View
Tabbed navigation that you can swipe between, each tab can have its own ScrollView and maintain its own scroll position between swipes. Pleasantly animated. Customizable tab bar
Stars: ✭ 6,784 (+12234.55%)
Mutual labels:  animated
Jquery.localscroll
Animated anchor navigation made easy with jQuery
Stars: ✭ 624 (+1034.55%)
Mutual labels:  animated
React Native Really Awesome Button
React Native button component. Awesome Button is a 3D at 60fps, progress enabled, social ready, extendable, production ready component that renders an awesome animated set of UI buttons. 📱
Stars: ✭ 988 (+1696.36%)
Mutual labels:  animated
Ttsegmentedcontrol
An elegant, animated and customizable segmented control for iOS created by Tapptitude
Stars: ✭ 471 (+756.36%)
Mutual labels:  animated
Christmas Tree
ASCII christmas-tree with animations for 256 colored terminals
Stars: ✭ 23 (-58.18%)
Mutual labels:  animated
Spalert
Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.
Stars: ✭ 1,014 (+1743.64%)
Mutual labels:  animated
Paperview
A high performance X11 animated wallpaper setter
Stars: ✭ 999 (+1716.36%)
Mutual labels:  animated
Sjfluidsegmentedcontrol
A segmented control with custom appearance and interactive animations. Written in Swift 3.0.
Stars: ✭ 862 (+1467.27%)
Mutual labels:  animated

react-native-animated-numbers

PRs Welcome Platform License

npm version

Library showing animation of number changes in react-native

If you want web version in react.js download react-animated-numbers

install

This package is using react-native-reanimated. So following libs should be installed first

yarn add react-native-reanimated react-native-gesture-handler && cd ios && pod install

next

yarn add react-native-animated-numbers

props

type default description
animateToNumber number none Number to be animated
fontStyle TextStyle? none Style of number text
animationDuration number? 1400(ms) The speed at which the animation works
includeComma boolean? false Whether the number contains commas
easing Easing? Easing.elastic(1.2) React Native Easing API in Animated

example

import React from 'react';
import {SafeAreaView, Button} from 'react-native';
import AnimatedNumbers from 'react-native-animated-numbers';

const App = () => {
  const [animateToNumber, setAnimateToNumber] = React.useState(7979);

  const increase = () => {
    setAnimateToNumber(animateToNumber + 1999);
  };

  return (
    <SafeAreaView
      style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
      <AnimatedNumbers
        includeComma
        animateToNumber={animateToNumber}
        fontStyle={{fontSize: 50, fontWeight: 'bold'}}
      />
      <Button title="increase" onPress={increase} />
    </SafeAreaView>
  );
};
export default App;

screenshot

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].