All Projects → WrathChaos → react-native-animated-radio-button

WrathChaos / react-native-animated-radio-button

Licence: MIT license
Fully customizable animated radio button for React Native

Programming Languages

java
68154 projects - #9 most used programming language
typescript
32286 projects
objective c
16641 projects - #2 most used programming language
javascript
184084 projects - #8 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-animated-radio-button

react-native-text-area
Simple and easy to use TextArea for React Native.
Stars: ✭ 20 (-20%)
Mutual labels:  development, mobile-app, freakycoder
AMChoice
Radio Button and check box for iOS
Stars: ✭ 45 (+80%)
Mutual labels:  radio, button, radio-button
react-native-bounceable
Animate and bounce any component with RNBounceable for React Native
Stars: ✭ 26 (+4%)
Mutual labels:  development, front-end, freakycoder
android-trinity
android-trinity is tiny proactive framework with much of the scaffolding code required to start a new Android Application.
Stars: ✭ 44 (+76%)
Mutual labels:  development, mobile-app
react-native-permissions-modal
Awesome & Fully Customizable Permissions Modal for React Native
Stars: ✭ 26 (+4%)
Mutual labels:  front-end, freakycoder
libraries-list
📋 Uma lista de bibliotecas mais usadas para frameworks front-end
Stars: ✭ 23 (-8%)
Mutual labels:  development, front-end
buttono
A flexible Sass mixin for creating BEM-style buttons.
Stars: ✭ 82 (+228%)
Mutual labels:  front-end, button
Webthings
A collection of all things web, because my memory sucks and so does yours.
Stars: ✭ 50 (+100%)
Mutual labels:  development, front-end
Lab
React UI component design tool
Stars: ✭ 349 (+1296%)
Mutual labels:  development, front-end
Dev Practice
Practice your skills with these ideas.
Stars: ✭ 1,127 (+4408%)
Mutual labels:  development, front-end
react-native-radio-buttons-group
Simple, best and easy to use radio buttons for react native apps.
Stars: ✭ 145 (+480%)
Mutual labels:  radio, button
React Native Selectmultiple Button
A button (or a grouped buttons) supporting multiple or radio selection by building with React Native. https://github.com/danceyoung/selectmultiplebuttons for Swift.
Stars: ✭ 72 (+188%)
Mutual labels:  radio, button
react-native-imaged-carousel-card
Fully customizable & Lovely Imaged Carousel Card for React Native
Stars: ✭ 70 (+180%)
Mutual labels:  front-end, freakycoder
react-native-single-select
Customizable & Easy to Use Single Select Library for React Native
Stars: ✭ 74 (+196%)
Mutual labels:  front-end, mobile-app
react-native-header-search-bar
Fully customizable header search bar for React Native
Stars: ✭ 101 (+304%)
Mutual labels:  front-end, freakycoder
Front End Career
A career guide to Front End Developers
Stars: ✭ 765 (+2960%)
Mutual labels:  development, front-end
react-native-beautiful-timeline
Fully customizable, beautifully designed Timeline for React Native.
Stars: ✭ 111 (+344%)
Mutual labels:  mobile-application-development, freakycoder
Grabs
Front-End Development Environment
Stars: ✭ 89 (+256%)
Mutual labels:  development, front-end
react-native-redux-boilerplate
React Native Redux Boiler Plate
Stars: ✭ 38 (+52%)
Mutual labels:  front-end, freakycoder
frontend-tools
Links to front-end development tools
Stars: ✭ 143 (+472%)
Mutual labels:  development, front-end

React Native Animated Radio Button

Battle Tested ✅

Fully customizable animated radio button for React Native

npm version npm Platform - Android and iOS License: MIT styled with prettier

React Native Animated Radio Button

Version 2 is here 😍

Finally, version 2 is here with much basic usage and re-written code. It does not support a text but it is easy to add a text depends on the dev Typescript support and much cleaner code

Installation

Add the dependency:

npm i react-native-animated-radio-button

Peer Dependencies

IMPORTANT! You need install them
"@freakycoder/react-native-bounceable": ">= 0.2.5",

Usage

Import

import RadioButton from "react-native-animated-radio-button";

Basic Usage

You can check the example out 😏

<RadioButton
  onPress={(isActive: boolean) =>
    console.log("RadioButton isActive: ", isActive)
  }
/>

Customization Usage

<RadioButton
  style={{
    marginTop: 32,
    borderRadius: 16,
    borderWidth: 3,
    borderColor: "#328da8",
  }}
  innerBackgroundColor="#328da8"
  innerContainerStyle={{ height: 35, width: 35, borderRadius: 10 }}
  onPress={(isActive: boolean) => console.log("isActive: ", isActive)}
/>

Configuration - Props

Property Type Default Description
style style default set the main container's style (outer circle)
innerContainerStyle style default set the inner container's style (inner circle)
innerBackgroundColor color red change the inner circle's background color
initial boolean undefined set the initial activation of the radio button
isActive boolean undefined this will disable the built-in state of activation
onPress function default set your own function when onPress is triggered

Future Plans

  • LICENSE
  • Horizontal & Vertical text component as optional
  • Typescript Challenge!
  • Write an article about the lib on Medium

Author

FreakyCoder, [email protected]

License

React Native Animated Radio Button is available under the MIT license. See the LICENSE file for more info.


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