@npmcorp/pui-css-dropdowns
v8.5.0
Published
dropdowns css component for the npm fork of Pivotal UI, based on Bootstrap
Downloads
17
Readme
@npmcorp/pui-css-dropdowns
A CSS dropdowns component that can be installed via this npm package. The package provides all of the CSS you need to use the component.
Installation
To install the package, from the command line, type:
npm install pui-css-dropdowns
Usage
Note that this requires the Bootstrap JavaScript.
<div class="dropdown btn-group">
<button id="dropdown-button-1" class="dropdown-toggle btn btn-default" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Button Dropdown
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdown-button-1">
<li role="presentation">
<a href="http://www.google.com" role="menuitem">Google</a>
</li>
<li class="divider mvn"></li>
<li role="presentation">
<a href="http://www.yahoo.com" role="menuitem">Yahoo</a>
</li>
<li class="divider mvn"></li>
</li><li role="presentation">
<a href="http://www.aol.com" role="menuitem">Aol</a>
</li>
</ul>
</div>
You can find more examples of the dropdowns component in the pui style guide
This is a component of Pivotal UI. It is a Pivotal specific implementation of Bootstrap.
(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.