@oreo-ui/web
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta7 • Public • Published

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 styled-components

# or

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

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 ©

Readme

Keywords

none

Package Sidebar

Install

npm i @oreo-ui/web

Weekly Downloads

0

Version

1.0.0-beta7

License

MIT

Unpacked Size

876 kB

Total Files

12

Last publish

Collaborators

  • enipx