Giter Site home page Giter Site logo

enipx / oreo-ui Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 2.39 MB

Cross-platform UI components library built for React and React Native ⚡️

Home Page: https://oreo-ui.com/

License: MIT License

JavaScript 0.94% TypeScript 99.06%
oreo oreo-ui react react-native reactjs ui-components uikit

oreo-ui's Introduction

Oreo UI

Oreo is a cross-platform UI components library built for React and React Native designed to reduce the constraint faced when building products that span across both native and web platforms.

Features

  • Components & Styling: It includes a wide range of pre-built components, including buttons, modals, and more, fully customizable and offer a range of configuration options, making it easy to tailor them to your specific needs.

  • Flexibility: You can effortlessly compose UI components of your ideal choice to create a seamless user experience.

  • Dark mode: All components support dark mode.

Installation

Install dependencies:

Web

$ yarn add @oreo-ui/web styled-components

# or

$ npm i @oreo-ui/web styled-components

Native

$ yarn add @oreo-ui/native @oreo-ui/core styled-components react-native-svg react-native-safe-area-context

# or

$ npm i @oreo-ui/native @oreo-ui/core styled-components react-native-svg react-native-safe-area-context

Usage

Once you have installed the dependencies, the next step is to wrap your application root component with the OreoProvider.

import { OreoProvider } from "@oreo-ui/web" | "@oreo-ui/native"

export default function App() {
  return <OreoProvider>{children}</OreoProvider>
}

Great! You're all set. You can now use Oreo throughout your application.

import { Button } from "@oreo-ui/web" | "@oreo-ui/native"

function Example() {
  return <Button text="Button">
}

Full documentation available here

Todo

  • improve documentation (majorly to accommodate native users properly)
  • write test
  • enhance UI and accessibility

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT ©

oreo-ui's People

Contributors

enipx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.