Skip to content

Gazareth/shards-dashboard-react

 
 

Repository files navigation

Data Health Dashboard

Fork of Shards Dashboard React -- reworked for greater functonality and programmability.

  • All dashboard components now inherit from a shared base component.
  • Base component feature: "Loading" animation and "Error" state for when data is being fetched, and for when no data is found.
  • "Large" and "Small" dash "Cards" can be placed using a less-verbose layout description:

Constructed with simple strings inside arrays. Strings (e.g. "smallstats-1") refer to cards that can be defined in a more convenient location elsewhere. Nested arrays alternate between 'column' and 'row' configuration, e.g. line 3 shows three cards in 'column' formation, alongside one card to form a row (see gif below!).

Original layout style

Working example


Built using...

A free React admin dashboard template pack featuring a modern design system
and lots of custom templates and components.



Note: You can download the Sketch files from the official product page.


Quick Start

  • Install dependencies by running yarn or npm install.
  • Run yarn start or npm run start to start the local development server.
  • 😎 That's it! You're ready to start building awesome dashboards.

Project Structure

  • This project is bootstrapped using Create React App.
  • Flux is used for state management and all Flux specific files are located inside src/flux. Transitioning to a more robust solution such as Redux is also fairly simple.
  • All primary templates are located inside src/views.
  • There is only one single layout defined (Default) inside src/layouts, however, the current structure provides an easy way of extending the UI kit.
  • The src/components directory hosts all template-specific subcomponents in their own subdirectory.
  • The layout styles inherited from Shards Dashboard are pulled in from the src/shards-dashboard submodule inside src/App.js.
  • Other extra styles specific to the libraries used are located inside src/assets.
  • The src/utils directory contains generic Chart.js utilities.

Available Scripts

npm start

Runs the app in the development mode.

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production to the build folder.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.


🌟 Pro Version

If you're looking for something more, check out Shards Dashboard Pro React which features many more custom templates and components. Use the GITHUB15 coupon code for a 15% discount off the current price.


Built using


Changelog

Please check out the CHANGELOG.

About

Data Health Dashboard -- A Fork of ⚛️ Shards Dashboard React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.5%
  • HTML 1.2%
  • CSS 0.3%