predix-ui
Version:
px-* web components as React styled components
35 lines (24 loc) • 780 B
Markdown
`predix-ui` is available as an `npm` package.
To install and save in your `package.json` dependencies, run:
```code
$ npm install predix-ui
```
Then import the components you want to use.
```js
import { Card } from 'predix-ui';
<Card headerText='My Card'>
This is a card
</Card>
```
### Theme
The component styles are all in separate .css files or you can use the entire theme.
```code
<link rel='stylesheet prefetch' href='https://unpkg.com/predix-ui@0.0.9/dist/predix-ui.min.css'/>
<link rel='stylesheet prefetch' href='https://unpkg.com/predix-ui@0.0.9/dist/css/Theme/px-dark-theme.min.css'/>
```
### Download
You can grab the latest release below:
```download
title: predix-ui@latest(.zip)
url: https://github.com/jonniespratley/predix-ui/archive/latest.zip
```