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-modals

8.3.3 • Public • Published

pui-css-modals

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

Usage

Note that this requires Bootstrap's JavaScript.

<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="btn close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title" id="myModalLabel">Modal Title</h4>
      </div>
      <div class="modal-body">
        ...
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default-alt" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div>
  </div>
</div>

You can find more examples of the modals 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.

Package Sidebar

Install

npm i pui-css-modals

Weekly Downloads

0

Version

8.3.3

License

MIT

Last publish

Collaborators

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