Skip to content

react-admin-lte/react-admin-lte

Repository files navigation

reactjs-admin-lte Travis Codecov

Reactjs-Admin-LTE is a package that consists of AdminLTE components built with React.

Tip: We tried to stick to naming the components in this package after their CSS names on the AdminLTE page. If you want to know what something looks like or how it is put together, simply inspect that page (F12 or right click > inspect). You can Ctrl+F in the source view to look for component names, but remember to replace spaces with dashes.

For a more in-depth look at the individual components, see the docs.

Features

  • Easy to install via npm
  • Easy to use especially if you use ES6
  • Easy to read your code

Installation

You can use node package manager (npm) to install the package:

$ cd path/to/project
$ npm install reactjs-admin-lte

Usage

Note: This example is using ES6 syntax.

Import the components you need:

import { Box } from 'reactjs-admin-lte';

And use them:

<Box>
  <Box.Header>
    <Box.Title>Hello, world!</Box.Title>
  </Box.Header>
  <Box.Body>
    Thanks for choosing reactjs-admin-lte.
  </Box.Body>
</Box>

Contributing

If you run into any problems or errors, report them here.

If you want to add something to the project, create a pull request here.