package
The missing React Native UI Kit for iOS.
npm install react-native-ios-kitGitHub-flavored package documentation.
Across all versions, last 30 days.
2,053 in 30 days
Runtime metadata.
The missing React Native UI Kit for iOS.
You can find documentation with all list of features and components here
cd example && npm run iosor run the example app with Expo to see it in action.
Open a Terminal in your project's folder and run
yarn add react-native-ios-kit react-native-vector-iconsAfter installation, you'll need to link react-native-vector-icons.
Wrap your root component in ThemeProvider from react-native-ios-kit.
It's a good idea to wrap the component which is passed to AppRegistry.registerComponent.
Example:
import * as React from 'react';
import { AppRegistry } from 'react-native';
import { ThemeProvider } from 'react-native-ios-kit';
import App from './src/App';
function Main() {
return (
<ThemeProvider>
<App />
</ThemeProvider>
);
}
AppRegistry.registerComponent('main', () => Main);The ThemeProvider component provides the theme to all the components in the framework. It also acts as a portal to components which need to be rendered at the top level.
You can provide a custom theme to customize the colors, fonts etc. with the ThemeProvider component. Check the Theme Type to see what customization options are supported.
Example:
import * as React from 'react';
import { AppRegistry } from 'react-native';
import { DefaultTheme, ThemeProvider } from 'react-native-ios-kit';
import color from 'color';
import App from './src/App';
const theme = {
...DefaultTheme,
primaryColor: 'tomato',
primaryLightColor: color('tomato')
.lighten(0.2)
.rgb()
.string(),
disabledColor: 'yellow',
You can also customize theme per one component by using theme prop.
Example:
<Icon
name="ios-people"
theme={{
primaryColor: 'green'
}}
>This code will change icon color to green
Check the components and their usage in our documentation.
Read the contribution guidelines before contributing.
react-native-ios-kit is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. Callstack is a group of React and React Native geeks, contact us at hello@callstack.com if you need any help with these or just want to say hi!
Estimated unpacked size across 24 packages.
4.8 MB
Includes dependencies.
thymikee
thymikee@gmail.com
mdjastrzebski
mdjastrzebski@gmail.com
jbinda
jakub.binda@gmail.com
artus9033
artus9033@gmail.com
rafikitiki
zakrzewski.rafal@gmail.com
admin-callstack
it-admin@callstack.com
hur.ali.ck
hur.ali@callstack.com
jbroma
j.romanczyk@gmail.com
mateusz1913
luigimario1913@gmail.com
robik
dev@robertpasinski.pl
dannyhw
dannyhyunsoowilliams@gmail.com
xeonbloomfield
piotr.milkowski@callstack.com
eduardogracianock
eduardo.graciano@callstack.com
bartoszklonowski
bartosz.klonowski@callstack.com
piotrski
piotr@tomczewski.dev
trozee
ptrocki@gmail.com
camobap
abobrikovich@gmail.com
adamtrz
trzcinski.adam@gmail.com
callstack-oss
jakub@callstack.com
5.0.3
3.0.9