0.0.23 • Published 5 years ago

predix-ui v0.0.23

Weekly downloads
94
License
-
Repository
github
Last release
5 years ago

predix-ui

Unoffical React components that implement Predix's Design System CSS.

Build Status style: styled-components Dependency Status npm downloads npm version Module Formats

For more information on Predix UI visit https://www.predix-ui.com/#/home

Why? Well the predix-ui library is built with Polymer. This project attempts to bring those components to React.

Usage

To use this library simply install it with npm or yarn:

$ npm install predix-ui

Then import the components you want to use.

If you're not using a module bundler or package manager we also have a global ("UMD") build hosted on the unpkg CDN. Simply add the following <script> tag to the bottom of your HTML file:

<script src="https://unpkg.com/predix-ui/dist/predix-ui.min.js"></script>
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.

<link rel='stylesheet prefetch' href='https://unpkg.com/predix-ui/dist/predix-ui.min.css'/>
<link rel='stylesheet prefetch' href='https://unpkg.com/predix-ui/dist/px-dark-theme.min.css'/>

Starter Project

You can get started quickly with this starter project.

<div class="glitch-embed-wrap" style="height: 450px; width: 100%;">
  <iframe src="https://glitch.com/embed/#!/embed/jps-react-predix-ui-starter?path=src/components/App/index.js&previewSize=100" alt="jps-react-predix-ui-starter on glitch" style="height: 100%; width: 100%; border: 0;"></iframe>
</div>

License

See LICENSE for more details.

0.0.23

5 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago