react-kitt

1.1.3 • Public • Published

React kitt

Super lightweight React User Inteface components to help you get started. All components are very easy to customize using sass. You can also extends react-kitt to create own components for your brand.

Completely compatible with Tailwind CSS and Post CSS

npm package npm download Travis CII Best Practices Code style PeerDependencies Dependencies DevDependencies

What is included

  1. React stateless functional components
  2. Customisable color theme
  3. SASS files for all components
  4. Material icons support
  5. MIT License

List of components

  1. Alert
  2. Button
  3. Button Group
  4. Cards
  5. Dropdown and popovers
  6. Flex based grid
  7. Icon (material icons)
  8. Icon buttons
  9. Menu
  10. Modal dialogs
  11. Pagination
  12. Pills
  13. Progress bars
  14. Tabs, accordion and toggles
  15. Toggle
  16. Tooltip

How to use

Install react-kitt from npm

yarn add react-kitt

or

npm install react-kit --save

Include react-kitt styles

import 'react-kitt/lib/styles/main.scss'

Enable TailWind CSS

You can enable Tailwind CSS in styles/main.scss by uncommenting

@tailwind preflight;
@tailwind utilities;

Import components from react-kitt

import { Button, Dropdown, Menu, MenuItem, MenuDivider, withToggle } from 'react-kitt'

Webpack configuration

To compile sass or css, you need to have css-loader, style-loader, sass-loader and node-sass installed.

yarn add css-loader style-loader sass-loader node-sass --dev

Add this to your webpack config file

{
  test: /(\.scss|\.css)$/,
  loaders: ['style-loader', 'css-loader', 'sass-loader']
}

Example project

We have include a demo webpack project in example folder

React guidelines

https://github.com/airbnb/javascript/blob/master/react/README.md

Package Sidebar

Install

npm i react-kitt

Weekly Downloads

1

Version

1.1.3

License

MIT

Last publish

Collaborators

  • rmdort