npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-ui-devkit

v2.0.8

Published

Native UI Development Kit for React Native

Downloads

82

Readme

Native UI Development Kit for React Native

Before you get started with our React Native UI DevKit package, we'll provide a simplified overview.

What is React Native UI DevKit?

React Native UI DevKit is a free component library developed with the Native-style concept that delivers a native interface for each platform.

Action, Button, Card, Checkbox, Collapsible, Divider, FlatList, Icon, Item, List, Radio, Separator, Swipeable (iOS), Switch, TextInput

Where does it apply?

React Native UI DevKit components can be used simply and efficiently in your applications developed in React Native.

Transform the experience of users who use or will use your application into a native navigability experience according to the platform and version for Android and iOS.

Getting started

Installation

 npm install react-native-ui-devkit

Peer Dependencies

  • react-native-gesture-handler: https://www.npmjs.com/package/react-native-gesture-handler
  • react-native-device-info: https://www.npmjs.com/package/react-native-device-info
  • react-native-vector-icons: https://www.npmjs.com/package/react-native-vector-icons
  • react-native-sfsymbols: https://www.npmjs.com/package/react-native-sfsymbols
  • react-native-haptic-feedback: https://www.npmjs.com/package/react-native-haptic-feedback
  • react-native-reanimated: https://www.npmjs.com/package/react-native-reanimated

Refer to the documentation for each package. Each package has its own installation instructions that should be followed to ensure a correct and smooth integration. Keep in mind that the individual installation guidelines for each package are essential for the success of the project.

 npm install react-native-gesture-handler react-native-device-info react-native-vector-icons react-native-sfsymbols react-native-haptic-feedback react-native-reanimated

From React Native 0.60 and higher, linking is automatic. So you don't need to run react-native link.

If you're on a Mac and developing for iOS, you need to install the pods (via Cocoapods) to complete the linking.

 cd ios && pod install

Provider

The provider has to be imported and has to wrap its routes due to Native-style and light and dark modes.

import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';

// React Native UI DevKit
import { RNUIDevKitProvider, Item } from 'react-native-ui-devkit';

const Stack = createNativeStackNavigator();
const App = () => {
  const Component = (props) => {
    return (
      <Item data={{ title: 'Item', onPress: async () => { } }} />
    )
  }

  return (
    <RNUIDevKitProvider theme={'auto'} backgroundColor={'both'} >
      <NavigationContainer>
        <Stack.Navigator>
          <Stack.Screen name="Component" component={Component} />
        </Stack.Navigator>
      </NavigationContainer>
    </RNUIDevKitProvider>
  );
}

export default App;

Test

 npx react-native run-android

Migrating from your component to React Native UI DevKit components

See how easy it is to migrate your components to the Native-style version of React Native UI DevKit components.

// From
import React from "react";
import { Text, TouchableOpacity } from "react-native";

const App = () => {
  return (
    <TouchableOpacity onPress={async () => { }}>
        <Text>Button</Text>
    </TouchableOpacity>
  )
};

export default App;
// To
import React from "react";

// React Native UI DevKit
import { Button } from "react-native-ui-devkit";

const App = () => {
  return (<Button data={{ title: 'Button', onPress: async () => { } }} />)
};

export default App;

Features

See here all the features that the React Native UI DevKit has.

Provider

Components

Fonts

Functions

Library

The React Native UI DevKit Library is a project that covers the use of all components of the React Native UI DevKit package in addition to the light and dark theme. You can use it to check the behavior of each component in the real world and facilitate implementation in your projects.

Learn more...

Layout

The React Native UI DevKit Layout is a project that includes the use of some standard layouts in applications. You can use some ready-made layouts to have a starting point and facilitate implementation in your projects.

Learn more...

Continuous Innovation

The React Native UI DevKit continuous innovation protocol is constantly evolving through research and development. It consists of two steps: the first is the analysis of the Android and iOS platforms and their versions and updates, to test and deploy the latest updates. The second is our testing ground to validate new features and improvements before they are implemented in the React Native UI DevKit package update.

Contributing

If you have any questions, suggestions or complaints please send us an email at [email protected].

License

Licensed under The MIT License.Copyright © 2023 React Native UI DevKit - All rights reserved.

See license for more information.