Git Product home page Git Product logo

growwold / frontatish Goto Github PK

View Code? Open in Web Editor NEW
19.0 5.0 11.0 33.79 MB

A React native common components kit and helper methods,find the package at this link https://www.npmjs.com/package/frontatish

Home Page: https://groww.github.io/frontatish

License: MIT License

JavaScript 1.95% TypeScript 87.68% Java 4.12% Ruby 2.72% Objective-C 2.49% Kotlin 0.87% Swift 0.04% C 0.07% Shell 0.06%
react-native typescript jest docusaurus react-component-library npm-package ios android react-native-reanimated animations react hacktoberfest2020 hacktoberfest

frontatish's Introduction

Due to npm package name availability the repository name has been changed to frontatish from viserion

Overview

frontatish is a collection of common ui components developed and designed by Groww Engineering Team,which aims to give you all set of most commonly used ui components or helpers at a single place,so that you could only worry about writing the business logic of your app.

Preview

Below screenshots are some previews of the components which resides in this ui-kit, it is just for demonstration purposes, the kit contains many more components and helper methods.

Set-up

To get started with the project, run yarn bootstrap in the root directory to install the required dependencies for each package:

yarn bootstrap

While developing, you can run the example app to test your changes.

To start the packager:

yarn example start

To run the example app on Android:

yarn example android

To run the example app on iOS:

yarn example ios

Make sure your code passes TypeScript and ESLint. Run the following to verify:

yarn typescript
yarn lint

To fix formatting errors, run the following:

yarn lint --fix

Remember to add tests for your change if possible. Run the unit tests by:

yarn test

To edit the Objective-C files, open example/ios/viserionExample.xcworkspace in XCode and find the source files at Pods > Development Pods > viserion.

To edit the Java files, open example/android in Android studio and find the source files at viserion under Android.

Contribute

If you are here to conribute into this project kindly follow the below steps to setup this project in your local system

  > git clone `repo-link`
  > cd frontatish
  > yarn bootstrap
  > cd src
  > yarn
  > cd ../
  > yarn example ios or yarn example android

Quick Install

yarn add frontatish react-native-material-ripple react-native-vector-icons react-native-reanimated react-native-gesture-handler

Make sure if you are running on ios device you go to the ios/ folder and run pod install inside it to complete the installation of library like vector icons and reanimated.

Installation

Follow this link to setup frontatish into you project.

The library is still under development & we are working to ship more usefull components very soon,below are some components which seems stable to use for now.

Requirements

Few of our components depends on external libraries to perform well,for example Checkbox,it depends on react-native-vector-icons to render icons inside the box,similarly Button uses react-native-material-ripple so before using these components you should install along with the frontatish installation

so please make sure you already have this package installed and linked properly to you react-native project.

We assume it best perform on react-native greater than v0.60,we have not tested below to that version,if you are on lower versions of react and facing any issue,you can file and issue here

Components

  1. Button
  2. Checkbox
  3. NumPad
  4. Radiobutton
  5. Table
  6. EmptyView
  7. Switch
  8. Dropdown
  9. Input

frontatish's People

Contributors

akashkait55 avatar amanbhawsar avatar amanbhawsar99 avatar dependabot[bot] avatar harivikneshs avatar john1jan avatar priyanshu0405 avatar rushatgabhane avatar sandeep-tiwari-groww avatar swarajrenghe avatar vinitraj10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

frontatish's Issues

Build failed with an exception. | A problem occurred configuring project ':frontatish'.

Hello,
I install the package using yarn but when I try to run
npx react-native run-android, then it failed to link the packages

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':frontatish'.

Could not determine the dependencies of null.
Could not resolve all task dependencies for configuration ':frontatish:classpath'.
> Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:null.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/null/kotlin-gradle-plugin-null.pom
- https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/null/kotlin-gradle-plugin-null.pom
Required by:
project :frontatish

// Package.json

{
"name": "xyz",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"a": "npx react-native run-android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"@eva-design/eva": "^2.1.1",
"@react-native-async-storage/async-storage": "^1.17.10",
"@react-navigation/bottom-tabs": "^6.4.0",
"@react-navigation/native": "^6.0.13",
"@react-navigation/stack": "^6.3.3",
"@ui-kitten/components": "^5.1.2",
"@ui-kitten/eva-icons": "^5.1.2",
"expo": "~46.0.16",
"expo-splash-screen": "~0.16.2",
"expo-status-bar": "~1.4.0",
"frontatish": "^0.4.5",
"lottie-react-native": "^5.1.4",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-native": "0.69.6",
"react-native-gesture-handler": "^2.8.0",
"react-native-linear-gradient": "^2.6.2",
"react-native-paper": "5.0.0-rc.9",
"react-native-reanimated": "^2.12.0",
"react-native-safe-area-context": "^4.4.1",
"react-native-screens": "^3.18.2",
"react-native-snap-carousel": "^3.9.1",
"react-native-svg": "^13.5.0",
"react-native-vector-icons": "^9.2.0",
"react-native-web": "~0.18.7",
"react-redux": "^8.0.4",
"redux": "^4.2.0",
"redux-thunk": "^2.4.1",
"styled-components": "^5.3.6"
},
"devDependencies": {
"@babel/core": "^7.12.9"
},
"private": true
}

Ticker component

It should handle both integer and float values.
It should be able to show comma-separated values.

Tab View

  1. Create a Tab View component to show multiple tabs, with components switching as selected tab changes.
  2. Add animation to line indicating selected tab.
  3. Make the tab components swippable (optional)

Calendar Component/DatePicker

Enhance the existing Calendar component, you can checkout from feature/calendar branch and move ahead to improve its ui

Stepper Component

Writing a functional Stepper UI component, that can handle to display the UI in order of steps of processes. like order-delivery or etc.

**Range Slider Component**

Add Range slider component, one can use feature/slider branch to move ahead, or can start it from scratch

Pincode/Otp component

Add a Pincode or OTP input component, with various forms

  • code can be encrypted
  • number of blocks configurable
  • dimension of the box or active item configurable

Pin input or Otp Input Component

Create Textinput component for input the pin code or OTP sort of things, it should auto change focus on every input entered, and on deleting it should smoothly change focus back to the required field.

frontatish NumPad component can be used together with it to make the experience consistent,or you can use native keyboard API

Modal component

Add Modal component, with an option to perform all kind of Pan gestures to close the modal by swiping down or up.

Stepper component

  • Create Stepper components to handle order tracking,or any kind of tracking cases

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.