pui-css-traffic-lights

3.4.2 • Public • Published

pui-css-traffic-lights

A CSS traffic-lights component that can be installed via this npm package. This package provides all of the CSS you need to use the component.

Installation

To install the package from the command line:

npm install pui-css-traffic-lights

Usage

<h3>On</h3>
<ul class="traffic-lights list-unstyled mvm">
  <li class="green-light">
    <i class="fa fa-circle"></i>
    5
  </li>
  <li class="gray-light">
    <i class="fa fa-circle"></i>
    1
  </li>
  <li class="red-light">
    <i class="fa fa-circle"></i>
    8
  </li>
</ul>

You can find more examples of the traffic-lights component in the pui style guide


This is a component of Pivotal UI, a collection of React and CSS components for rapidly building and prototyping UIs.

Styleguide Github npm

(c) Copyright 2016 Pivotal Software, Inc. All Rights Reserved.

Package Sidebar

Install

npm i pui-css-traffic-lights

Weekly Downloads

8

Version

3.4.2

License

MIT

Last publish

Collaborators

  • aberkovec
  • atomanyih
  • charleshansen
  • ctaymor
  • cthompson
  • d-reinhold
  • esharma
  • gpleiss
  • kennyw1019
  • mattroyal
  • rdy
  • stubbornella