1.2.3 • Published 4 years ago

react-bella v1.2.3

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

A new React component library for a cleaner, more beautiful web. Incredibly light and easy to use. Built for 2019, with Typescript. Made with 🔥 in the UK.

💻 Installation

npm install react-bella

🚀 Usage

Here is a quick example to get you started, it's all you need:

import React from 'react';
import ReactDOM from 'react-dom';
import {Text, Flex} from 'react-bella';

function App() {
  return (
    <Flex justifyContent="center">
      <Text type="h1" color="blue">Bella</Text>
    </Flex>
  );
}

ReactDOM.render(<App />, document.querySelector('#app'));

📚 Components

Flex (for flexible, dynamic divs)

<Flex justifyContent>
  {...children}
</Flex>

justifyContent: oneOf(['center', 'flex-start', 'flex-end', 'space-between', 'space-evenly']). Default is 'space-between'.
children: any

Text (for all kinds of text)

<Text type>
  {...children}
</Text>

type: oneOf(['p', 'span', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']). Default is 'span'.
children: any

Space (forget margins)

<Space size>
  {...children}
</Space>

size: oneOf(['xs', 'sm', 'md', 'lg', 'xl']). Default is 'md'.
children: any

Button (buttons)

<Button theme>
  {...children}
</Button>

theme: oneOf(['primary', 'outline', 'invisible']). Default is 'invisible'.
children: any

Roadmap

Currently in development. Once a complete, stable release is ready, we will announce.

License

This project is licensed under the terms of the MIT license.

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago