Coder Social home page Coder Social logo

trixieapp / react-virgin Goto Github PK

View Code? Open in Web Editor NEW
1.5K 42.0 109.0 1.92 MB

The react-native UI Kit you've been looking for.

Home Page: https://trixieapp.github.io/react-virgin/

License: MIT License

JavaScript 82.45% Python 3.97% Java 3.46% Objective-C 10.13%
react-native ui-components uikit ui-design ui-kit

react-virgin's Introduction

React-Virgin

Travis GitHub last commit GitHub issues GitHub forks GitHub stars GitHub license Twitter

The React-Native UI Kit you've been looking for

Made with lots of ❤️

What is React-Virgin?

  • Boiler plate UI kit for your React-Native projects ⭐
  • Get started quickly
  • A beautiful React-Native UI kit

What is inside React-Virgin?

  • Basic Boilerplate including react-navigation 💥
  • Basic components
  • Horizontal List
  • Vertical list
  • Buttons
  • Header
  • Gridview
  • Chat bubble
  • Loader

Preview

Android iOS
android ios

Installation

React-Virgin requires Node.js v4+ to run.

Clone the repo

$ cd Trixie-UI-kit
$ cd TrixieUiKit
$ npm install
$ react-native run-ios

Linting

$ yarn lint

We also have prettier support. Run the following after you write code to apply the prettier config.

$ yarn format

Development

We would love if you can contribute to make this project better. Here's how you can do it:

  • Fork the project.
  • Commit changes or bugfixes to your repo.
  • Submit a pull request
  • Sit back and relax while our maintainers checkout your changes and approve them!

Docs

Basic documentation is available on - https://trixieapp.github.io/react-virgin/

Todos

  • Complete documentation
  • Drawer menu
  • Card layout
  • Buttons with icons
  • All form components

License

MIT

Free Software, Hell Yeah! Buy Me A Coffee

react-virgin's People

Contributors

dependabot[bot] avatar keerthijk avatar manojmj92 avatar nattatorn-dev avatar pranavrajs avatar rishipuri avatar soorajchandran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-virgin's Issues

Not able to load the icons in tab navigator

Hi there i am using you custom tab navigator, I want to use Icon in tabBarIcon instead of using image tag but when i try to load the icon it's not working it's show blank.

Here is my code

  Component,
} from 'react';
/* App routes define here */

import { StackNavigator, TabNavigator } from 'react-navigation'
import VerifyMobileNumber from '../containers/VerifyUser/VerifyMobileNumber'
import VerifyMobileOtp from '../containers/VerifyUser/VerifyMobileOtp'
import ProfilePage from '../containers/ProfileScreen/ProfilePage'
import WalkThrough from '../containers/WalkThrough/Screen'

/*Tab navigator pages*/

import UserPage from '../components/userPage'
import InviteFriend from '../containers/ProfileScreen/InviteFriend'
import UserPagew from '../components/userPage'
import InviteFriendw from '../containers/ProfileScreen/InviteFriend'
import FeatherIcon from 'react-native-vector-icons/MaterialCommunityIcons';
import componentStyle from '../components/style/component';
import BottomNav  from '../components/bottomNav'


const tabList = [
  {
    text: ' UserPage ',
    redirectLink: 'UserPage',
    id: 'UserPage',
    icon: 'account-circle',
    selectionIcon: 'account-circle',
  },
  {
    text: ' InviteFriend ',
    redirectLink: 'InviteFriend',
    id: 'InviteFriend',
    icon: 'account-card-detail',
    selectionIcon: 'account-card-detail',
  },
  {
    text: ' UserPagew ',
    redirectLink: 'UserPagew',
    id: 'UserPagew',
    icon: 'calendar-check',
    selectionIcon: 'calendar-check',
  },
  {
    text: ' InviteFriendw ',
    redirectLink: 'InviteFriendw',
    id: 'InviteFriendw',
    icon: 'calendar-check',
    selectionIcon: 'calendar-check',
  },
];

const UserPages = StackNavigator({
  UserPage: {
    screen: UserPage,
  },
});

const InviteFriends = StackNavigator({
  InviteFriend: {
    screen: InviteFriend,
  },
});

const UserPagews = StackNavigator({
  UserPagew: {
    screen: UserPagew,
  },
});

const InviteFriendws = StackNavigator({
  InviteFriendw: {
    screen: InviteFriendw,
  },
});


const tabBarConfiguration = {
  tabBarOptions: {
    style: {
      backgroundColor: 'white',
      borderTopWidth: 0,
      shadowColor: '#000',
      shadowOffset: { width: 0, height: 3 },
      shadowOpacity: 0.2,
      shadowRadius: 4,
      elevation: 1,
    },
  },
  showIcon:true,
  tabBarPosition: 'top',
  tabBarComponent: BottomNav
};

const CustomTab = TabNavigator({
  home: {
    screen: UserPage,
    navigationOptions: {
      tabBarLabel: tabList[0].text,
      tabBarIcon: ({ focused }) => (
        <FeatherIcon
          style={componentStyle.footerIcons}
          source={focused ? tabList[0].selectionIcon : tabList[0].icon}
        />
      )
    }
  },
  menu2: {
    screen: InviteFriend,
    navigationOptions: {
      tabBarLabel: tabList[1].text,
      tabBarIcon: ({ focused }) => (
        <FeatherIcon
          style={componentStyle.footerIcons}
          source={focused ? tabList[1].selectionIcon : tabList[1].icon}
        />
      )
    }
  },
  menu3: {
    screen: UserPagew,
    navigationOptions: {
      tabBarLabel: tabList[2].text,
      tabBarIcon: ({ focused }) => (
        <FeatherIcon
          style={componentStyle.footerIcons}
          source={focused ? tabList[2].selectionIcon : tabList[2].icon}
        />
      )
    }
  },
  menu4: {
    screen: InviteFriendw,
    navigationOptions: {
      tabBarLabel: tabList[3].text,
      tabBarIcon: ({ focused, tintColor }) => (
        <FeatherIcon
          style={componentStyle.footerIcons}
          source={focused ? tabList[3].selectionIcon : tabList[3].icon}
        />
      )
    }
  }
}, tabBarConfiguration);



export const MobileVerification = StackNavigator({
	CustomTab: { screen : CustomTab }
},{
	headerMode: 'none'
},);


What's the Android ETA?

Hi guys,

first of all very nice work :)

and thanks for making this a nice intuitive way to find components in RN.

I am just wondering about when you'll release the Android version or support for this?

Thanks again

Documentation

Currently the only way to use Trixie is reading the source code which is not ideal. Documentation would be helpful.

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.