react-tabler-components
A WIP collection of React components for Tabler
Demo
https://jonthomp.github.io/react-tabler-components/
Install
npm install --save react-tabler-components or yarn add react-tabler-components
Usage
At the moment this is a set of components only, it does not come with the Tabler CSS or Javascript packaged along side so you should add them into your project in the way that suites you best. In the example we're just using a local copy of the Tabler files and Bootstrap/Google CDNs for Fonts. The %PUBLIC_URL% is replaced by create-react-app at build time.
<!-- Dashboard Core --><!-- c3.js Charts Plugin --><!-- Google Maps Plugin --><!-- Input Mask Plugin -->
Then you just import react-tabler-components and get building...
import React Component from "react"; import Card Text Icon from "react-tabler-components"; { return <Card> <Card.Header> <Card.Title>Card Title</Card.Title> </Card.Header> <Card.Body> <Text ="red"> Some Red text next to an icon <Icon ="user" /> </Text> </Card.Body> </Card> ; }
License
MIT © jonthomp