GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • React Native Elements
  • 5.0.0
  • Bleeding Edge 🚧
  • 4.0.0-rc.8
  • 4.0.0-rc.7
  • 4.0.0-rc.6
  • 4.0.0-rc.5
  • 4.0.0-rc.4
  • 4.0.0-rc.3
  • 4.0.0-rc.2
  • 4.0.0-rc.1
  • 4.0.0-beta.0
  • 3.4.2
  • 2.3.2

This view

  • Original page
  • New address

GeezerVison is showing reactnativeelements.com — Overview | React Native Elements

Version: 5.0.0
The aim of React Native Elements is to provide an all-in-one UI kit for creating apps in react native. There are many great ui components made by developers all around open source. React Native Elements takes the hassle of assembling these packages together by giving you a ready made kit with consistent api and look and feel.

Installation​

Expo CLI

Guide to install with expo-cli

React Native CLI

Guide to install with react-native cli

React JS

Guide to install with create-react-app

Next JS (coming soon)

Guide to install with create-next-app

Quick start​

Here's a quick example to get you started, it's literally all you need:

import { Button } from '@rneui/base';

const App = () => {
return <Button title="Hello World" />;
};

Using themed components​

The components in this library have a single theme running through them. From one central location, we can update the colours used in all components. While this was great for the developers of the library, the actual users also needed a way to use this feature.

But why stop at colours? Why not allow the props of every component to be defined in one central place? And so the idea behind theming with React Native Elements was born!

import { Button, ThemeProvider } from '@rneui/themed';

const MyApp = () => {
return (
<ThemeProvider>
<Button title="Hey!" />
</ThemeProvider>
);
};

To customize the theme, or use it within your own components, be sure to check the docs on Customization.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.