This package has been deprecated

Author message:

All Pivotal UI components & styles have been moved to the 'pivotal-ui' package. Install that package for all future updates.

pui-css-collapse

8.3.3 • Public • Published

pui-css-collapse

A CSS collapse 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-collapse

Usage

Note that this requires Bootstrap's JavaScript.

<a class="collapsed" data-toggle="collapse" href="#simple-collapse-example">
  <div class="when-collapsed">
    Expand me
  </div>
  <div class="when-expanded">
    Collapse me
  </div>
</a>
<div class="collapse" id="simple-collapse-example">
  Look at this content.
</div>

You can find more examples of the collapse 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 2017 Pivotal Software, Inc. All Rights Reserved.

Dependents (4)

Package Sidebar

Install

npm i pui-css-collapse

Weekly Downloads

63

Version

8.3.3

License

MIT

Last publish

Collaborators

  • aberkovec
  • apps-manager
  • atomanyih
  • charleshansen
  • chentom88
  • ctaymor
  • cthompson
  • d-reinhold
  • elana
  • esharma
  • gpleiss
  • ial-ahmed
  • jadekler
  • jberney
  • kennyw1019
  • mattroyal
  • pivotal-ui
  • rdy
  • sjolicoeur
  • stubbornella
  • vinsonchuong