Giter Site home page Giter Site logo

ryan-eng-del / ocean Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 2.0 1.91 MB

Simple, Modular, Atomic & Accessible UI Components for your React Applications ⚡️ React UI 原子化组件库

Home Page: https://ryan-eng-del.github.io

License: MIT License

TypeScript 99.54% JavaScript 0.19% Shell 0.10% CSS 0.17%
react reactjs accessible accessible-react react-components react-hooks ui-component ui-library uikit ocean-ui

ocean's Introduction

Ocean UI

Build Accessible and Atomic CSS React Apps with Speed ⚡️


MIT License Github Stars


Ocean UI provides a set of accessible, reusable, and composable React components that make it super easy to create websites and apps.

Looking for the documentation? 📝

It's the website for the latest version of Ocean UI.

Features 🚀

  • Ease of Styling: Ocean UI contains a set of layout components like ocean.div that make it easy to style your components by passing props.

  • Flexible & composable: Ocean UI components are built on top of a React UI

  • Atomic & Speed

  • Dark Mode 😍 and twenty colorScheme custom theme

Support Ocean UI 💖

By donating $1 or more you can support the ongoing development of this project. We'll appreciate some support. Thank you to all our supporters! 🙏

Installing Ocean UI

To use Ocean UI components, all you need to do is install the @cyan-ocean/ui package:

$ yarn add @cyan-ocean/ui

# or

$ npm i @cyan-ocean/ui

Usage

To start using the components, please follow these steps:

  1. Wrap your application with the GlobalThemeProvider provided by @cyan-ocean/ui.
import { GlobalThemeProvider } from '@cyan-ocean/ui';

// Do this at the root of your application
function App({ children }) {
  return <GlobalThemeProvider>{children}</GlobalThemeProvider>;
}
  1. Now you can start using components like so!:
import { Button } from '@cyan-ocean/ui';

function Example() {
  return <Button type="primary">I just consumed some ⚡️Chakra!</Button>;
}

More guides on how to get started are available

CodeSandbox Templates

Testing supported by

BrowserStack

License

MIT © Cyan Benjamin

ocean's People

Contributors

ryan-eng-del avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.