hyper-native-ui
v0.2.18
Published
Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
Maintainers
Readme
React Native Components Library
Installation
npm install hyper-native-uiProvider
// app.tsx
import React from 'react';
import { View } from 'react-native';
import { useTheme, Button, ThemeProvider } from 'hyper-native-ui';
export default function App() {
return (
<ThemeProvider>
<ButtonExample/>
</ThemeProvider>
);
}
// Usage - Button example
function ButtonExample() {
const { currentTheme, toggleTheme } = useTheme();
return (
<View style={{
flex: 1,
backgroundColor: currentTheme.background,
justifyContent: "center",
alignItems: "center"
}}>
<Button onPress={()=>toggleTheme()}>
This is a Button
</Button>
</View>
);
}Features
- Support
React NavigationIntegration, read more. - Compatible with
Expo. - Accessibility support.
- Written in
TypeScript. - Read more.
Getting Started
Check out the documentation website.
Examples
Author
Support
if you are looking for a private support or help in customizing the experience, then reach out to me on Twitter @akashmondal.
