# react-native-animated-login

Latest version **0.2.2** (published 2019-01-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-animated-login
pnpm add react-native-animated-login
yarn add react-native-animated-login
bun add react-native-animated-login
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2019-01-09 |
| First published | 2018-12-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Karthik Dechiraju |
| Maintainers | karthikdechiraju |
| Keywords | react, react-native, login, animated, animations |

## Links

- npm: https://www.npmjs.com/package/react-native-animated-login
- Repository: https://github.com/karthikdechiraju/react-native-animated-login
- Homepage: https://github.com/karthikdechiraju/react-native-animated-login#readme
- Issues: https://github.com/karthikdechiraju/react-native-animated-login/issues
- npm.io page: https://npm.io/package/react-native-animated-login

## Dependencies (1)

- [prop-types](https://npm.io/package/prop-types.md) ^15.6.2

## Alternatives

- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [persona-harness](https://npm.io/package/persona-harness.md) — 4.7K weekly downloads
- [@tsparticles/effect-bubble](https://npm.io/package/@tsparticles/effect-bubble.md) — 4.6K weekly downloads
- [f3d](https://npm.io/package/f3d.md) — 730 weekly downloads
- [spark-html-motion](https://npm.io/package/spark-html-motion.md) — 298 weekly downloads

## Recent versions

- 0.2.2 (latest) — 2019-01-09
- 0.2.1 — 2019-01-05
- 0.2.0 — 2019-01-05
- 0.1.1 — 2018-12-19
- 0.1.0 — 2018-12-19

## README

# React Native Animated Login


This is a simple animated login component which is built on top of react native animated api. This uses native driver to acheive smooth animation with 60fps.


![](demo.gif)



### Installation
`npm install --save react-native-animated-login`


### Example
import `react-native-animated-login` module into your component
```javascript
import LoginView from 'react-native-animated-login'
```

Inside your component render, use `react-native-animated-login` api to render view. 

```javascript
<LoginView 
    logo={require('/path/to/your/img.png')} 
    primaryColor="#512DA8"
    accentColor="#fff"
    FormComponent = {viewComponent}
    title="APP NAME"
    titleColor="#fff"
    submitText="LOGIN"
    submitTextColor="#000"
    submitButtonColor="#14ccad"
    onSubmit={ ()=>console.log('submitted') }
/>
```
    

### Props 

 **Props** | **Type** | **Required** | **Description**
--- | --- | --- | ---
logo | PropTypes.node | false | Icon or image to be rendered
primaryColor | PropTypes.string | false | Primary color of the app
accentColor | PropTypes.string | false | Secondary color of the app
title | PropTypes.string | false | App name to be rendered
titleColor | PropTypes.string | false | Color of the title text
FormComponent | PropTypes.element | true | Form component to be render after animation
submitText | PropTypes.string | false | Text in the submit button
submitTextColor | PropTypes.string | false | Color of the text in submit button
submitButtonColor | PropTypes.string | false | Background color of submit button
onSubmit | PropTypes.func | true | callback function on submit

### Contribution
Issues are welcome. Please add a screenshot of bug and code snippet.

---
_Source: https://npm.io/package/react-native-animated-login · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
