All Projects β†’ reoilteam β†’ reoil

reoilteam / reoil

Licence: MIT license
🧑Reoil is a low-level react original component library which can be used as wapper to replace <div> <img> etc, also can be wrapper for any other components."

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to reoil

Semantic Ui React
The official Semantic-UI-React integration
Stars: ✭ 12,561 (+48211.54%)
Mutual labels:  react-library
Reactcss
πŸ’„ Inline Styles in JS
Stars: ✭ 1,603 (+6065.38%)
Mutual labels:  react-library
React Flow
Highly customizable library for building interactive node-based UIs, editors, flow charts and diagrams
Stars: ✭ 8,348 (+32007.69%)
Mutual labels:  react-library
react-emotion-multi-step-form
React multi-step form library with Emotion styling
Stars: ✭ 25 (-3.85%)
Mutual labels:  react-library
awesome-libraries-resources
Awesome js and css libraries for web development.
Stars: ✭ 32 (+23.08%)
Mutual labels:  react-library
stan
πŸ”¨ Collection of front-end engineering tools
Stars: ✭ 19 (-26.92%)
Mutual labels:  react-library
react-sketch-canvas
Freehand vector drawing component for React using SVG as canvas πŸ–ŒοΈ
Stars: ✭ 109 (+319.23%)
Mutual labels:  react-library
create-chakra-icons
Transform SVGs to React Chakra UI <Icon /> ✨
Stars: ✭ 80 (+207.69%)
Mutual labels:  react-library
react-loading-icons
A TypeScript-React edition of Sam Herbert's amazing SVG Loaders.
Stars: ✭ 32 (+23.08%)
Mutual labels:  react-library
animated-number-react
Super easy way to animate numbers with React
Stars: ✭ 91 (+250%)
Mutual labels:  react-library
lmth
πŸ‘‹ WIP: Say good-bye to HTML, a document markup which is not for applications.
Stars: ✭ 37 (+42.31%)
Mutual labels:  react-library
ui-glassmorphism
πŸ“˜ React component library on 'glassmorphism' UI/UX trend.
Stars: ✭ 20 (-23.08%)
Mutual labels:  react-library
useCustomHooks
πŸ“¦ npm package containing a set of custom hooks for your next React project.
Stars: ✭ 12 (-53.85%)
Mutual labels:  react-library
react-timepicker
React timepicker in Android KitKat style
Stars: ✭ 23 (-11.54%)
Mutual labels:  react-library
react-simple-star-rating
A simple react component for adding a star rating to your project.
Stars: ✭ 74 (+184.62%)
Mutual labels:  react-library
react-semantic-render
Semantic helper components for rendering content with React.
Stars: ✭ 13 (-50%)
Mutual labels:  react-library
react-native-tus-client
React Native client for the tus resumable upload protocol.
Stars: ✭ 38 (+46.15%)
Mutual labels:  react-library
tiny-ui
βš›οΈ A friendly UI component set for React.js
Stars: ✭ 202 (+676.92%)
Mutual labels:  react-ui-components
Dribbble2react
Transform Dribbble designs to React-Native code | Shop UI Kit >>
Stars: ✭ 2,443 (+9296.15%)
Mutual labels:  react-ui-kit
expo-ui-kit
expo-ui-kit - a components based React-Native UI Kit
Stars: ✭ 88 (+238.46%)
Mutual labels:  react-ui-kit

reoil

🧑Reoil is a low-level react original component library which can be used as wapper to replace <div> <img> etc, also can be wrapper for any other components."

Offical Website is designing, coming soon ...

Usage

We will release clear official documents in the coming months ...

Components

  • Box
  • Avatar
  • Image
  • Copy
  • Meta

Example usage:

Center all child elements

<Box center>...</Box>

Right bottom all child elements

<Box right bottom>...</Box>

Draw a button with Box

<Box padding={12} borderRadius={8} bg='blue' color='white' pointer>Click Me</Box>

Customize a button component with Box

const MyButton = ({children})=>{
  return <Box padding={12} borderRadius={8} bg='blue' color='white' pointer>{children}</Box>
}

Random or specify Avatar

<Avatar src='random' />
// or specify src
<Avatar src='someurl' />

Image

<Image src='random' width={200} height={100} fit='contain' /> 

Some behavior components:

Click to Copy

<Copy>some text</Copy>
// 'some text' will copy
<Copy>
  <h1>Hello world</h1>
  <p>Nice to meet you</p>
</Copy>
/* 
  'Hello world
  Nice to meet you' will copy
*/

Set title and favicon

<Meta title='Home Page' favicon='some.png' />

Development Build

If you are interested in this library, you are welcome to build it together.

Source Code https://github.com/reoilteam/reoil.

1. Clone or Download

git clone [email protected]:reoilteam/reoil.git

2. Yarn or Npm install packages

yarn install

3. Scripts

  • build:ts - build and export into /dist (not recommend)
  • build:types - build and export *.d.ts declaration files into /dist only
  • build:babel - build and export separated .ts files into /dist (without export declaration files)
  • build - build and export declaration files and separated files info /dist
  • build:rollup - build and export declaration files and one single bundled index.js (recommend)
  • start - watch build in babel way
  • start:rollup - watch build in rollup way (recommend)

I would use:

yarn start:rollup

4. Local Register

In order to use this library in local, register it in local(current path at reoil) :

yarn link

5. Demo & Local Import

In order to develop with acctual demo, you can create an React demo with CRA at any place:

yarn create create-react-app reoil-demo

Then link the local library which registered before:

yarn link reoil

Delete react folder in node_modules handly(important):

🍺 Now, you are good to go!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].