A collection of React flat design components, based on FlatifyCSS.
Getting started • Homepage • Issues • FlatifyCSS
Start using React FlatifyCSS after installing packages and importing the style file, here is how.
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 i flatifycss react-flatifycss
yarn add flatifycss react-flatifycss
React FlatifyCSS itself does not include the FlatifyCSS styles, so you can import your preferred stylesheet in your application.
import 'flatifycss/dist/css/flatify-min.css';
import 'flatifycss/dist/css/flatify-rtl-min.css';
Now, just import the component you need from react-flatifycss
, for example a simple button:
import React from 'react';
import { Button } from 'react-flatifycss';
export default function App() {
return <Button theme="green">Success!</Button>;
}