0.1.0 • Published 10 months ago

skysolo-x v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Shadrn Ui - React Native Ui Library

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

Installation

npm install shadrn-ui

Provider

import { ThemeProvider } from 'shadrn-ui';
import HomeScreen from '@app/HomeScreen';

export default function App() {
  return (
  <ThemeProvider>
    <HomeScreen/>
  <ThemeProvider>
  );
}

Usage

import { View, Text, Button } from 'react-native';
import React from 'react';
import { useTheme } from 'shadrn-ui';

export default function HomeScreen() {
  const { currentTheme, toggleTheme, themeScheme } = useTheme();

  return (
    <View style={{
      flex: 1,
      justifyContent: 'center',
      alignItems: 'center',
      backgroundColor: currentTheme.background,
    }}>
      <Button title={`switch to ${themeScheme === 'light' ? 'dark' : 'light'} mode`}
        onPress={toggleTheme} />
    </View>
  );
}

Preview

React Native Ui


Features

  • Support React Navigation Integration, read more.
  • Compatible with Expo.
  • Accessibility support.
  • Written in TypeScript.
  • Read more.

Getting Started

Check out the documentation website.

Author

Support

if you are looking for a private support or help in customizing the experience, then reach out to me on Twitter @akashmondal.

License

MIT

0.1.0

10 months ago

1.8.0

10 months ago

1.7.0

10 months ago

1.6.0

10 months ago

1.4.0

10 months ago

1.3.0

10 months ago

1.2.0

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago