An open API service indexing awesome lists of open source software.

https://github.com/amir2mi/react-flatifycss

A collection of React flat design components, based on FlatifyCSS.
https://github.com/amir2mi/react-flatifycss

components components-library components-react css flat minimal react react-components reactjs

Last synced: 12 months ago
JSON representation

A collection of React flat design components, based on FlatifyCSS.

Awesome Lists containing this project

README

          



React FlatifyCSS

React FlatifyCSS


A collection of React flat design components, based on FlatifyCSS.



Getting started

   •   

Homepage

   •   

Issues

   •   

FlatifyCSS


[![npm version](https://img.shields.io/npm/v/react-flatifycss)](https://www.npmjs.com/package/react-flatifycss)

# Getting started

Start using React FlatifyCSS after installing packages and importing the style file, here is how.

## Installing packages

To install and use the library you should install both the `flatifycss` and `react-flatifycss` packages. We use the base `flatifycss` package to import styles.

Use npm or Yarn to install the packages:

### npm

```bash
npm i flatifycss react-flatifycss
```

### Yarn

```bash
yarn add flatifycss react-flatifycss
```

## Import styles

React FlatifyCSS itself does not include the FlatifyCSS styles, so you can import your preferred stylesheet in your application.

### Left to right

```js
import 'flatifycss/dist/css/flatify-min.css';
```

### Right to Left

```js
import 'flatifycss/dist/css/flatify-rtl-min.css';
```

## Use components!

Now, just import the component you need from `react-flatifycss`, for example a simple button:

```js
import React from 'react';
import { Button } from 'react-flatifycss';

export default function App() {
return Success!;
}
```