Indexed by TopGit from live GitHub metadata: alexwolfe/Buttons has 5.0k stars, written primarily in JavaScript. A CSS button library built using Sass and Compass
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Buttons is a highly customizable production ready mobile web and desktop css button library. Buttons is a free open source project created using Sass.
Authors Alex Wolfe and Rob Levin.
Showcase Demo
View the showcase demo to see the buttons in action. The showcase provides a full list of examples along with code snippets to speed up development.
Setup & Installation
Download the latest buttons.css
Include buttons in your website:
<!-- Buttons core css -->
<link rel="stylesheet" href="css/buttons.css">
<!-- Only needed if you want support for dropdown menus -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="js/buttons.js"></script>
<!-- Only needed if you want font icons -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
Bower Installation
If you're using Bower you can run bower install Buttons
Transitioning From Buttons 1.0 to Buttons 2.0
We've made some major improvements to the Buttons library. In order to integrate buttons into your current project you'll need to make the following changes:
Compass has been replaced with autoprefixer. Compass is not recommended but it is still supported.
Button colors are now completely independent (ex. button-primary). We no longer have classes like button-flat-primary, so to achieve this you now simply add button-flat button-primary
Buttons styles are now independent (ex. button-flat, button-3d, etc.). You can apply these styles and they will automatically pick up the color attached to the button (ex. button-primary button-3d).
From the command line cd into the root for the Buttons directory.
Run npm install or sudo npm install (depending on your system permissions).
On the command line run grunt dev; this will open a browser with Buttons.
Locate scss in the root directory.
You can modify the _options.scss file where you can customize colors, typography, etc.
Anytime you save your changes the Buttons showcase page will live reload with your changes!
Customize Buttons with only Sass or Compass
Clone the Buttons repo.
Make sure you have Sass installed.
Run npm install from your terminal.
Edit the _options.scss with your own custom values (see example values below).
Buttons now works with or without Compass, so choose one of the following examples accordingly and run from the command line in Buttons's root directory:
For Sass run: $ sass --watch --scss scss/buttons.scss:css/buttons.css
For Compass run: $ compass watch
The css/buttons.css file should now be updated.
Button Options
To edit Buttons simply change values within the _options.scss file. After you make your edits recompile your sass file and your changes will get processed.
$ubtn: This prefix stands for Unicorn Button and prevents namespace collisions that could occur if you import buttons as part of your Sass build process. We kindly ask you not to use the prefix $ubtn in your project in order to avoid possible name conflicts. Thanks!
$ubtn-namespace: Desired CSS namespace for your buttons (default .button)
$ubtn-glow-namespace: Desired CSS namespace for your glow effect (default .glow)
$ubtn-colors: List of colors in format like (name, background, color).
$ubtn-glow-color: Default glow color (#2c9adb, light blue)
$ubtn-shapes: List of shapes in format like (square 0px). You can use Sass maps if you're using 3.3. See _options.scss for details.
$ubtn-sizes: List of sizes in format like (jumbo 1.5). You can use Sass maps if you're using 3.3. See _options.scss for details.
$ubtn-bgcolor: Default button background color (#EEE, light gray)
$ubtn-height: Default height, also used to calculate padding on the sides (32px)
$ubtn-font-family: Default font family
$ubtn-font-color: Default font color (#666, gray)
$ubtn-font-weight: Default font weight
$ubtn-font-size: Default font size (14px). You can also specify a value of inherit and it will be respected.
Excluding Button Types
By default, Buttons will include all button types. You can exclude types from your compilation by simply removing the corresponding @import statement in the buttons.scss file.
//Example import statement for 3d button.
@import 'types/3d';
Remove this statement then recompile to create a build without 3d buttons.
Browser Support
Buttons works in all modern browsers (Firefox, Chrome, Safari, IE) and gracefully degrades all to Internet Explorer 8.
About Buttons
Buttons is part of the Unicorn-UI Framework. Created by Alex Wolfe @alexwolfe and Rob Levin @roblevintennis .
TopGit's last sync did not record any GitHub topics for alexwolfe/Buttons. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on alexwolfe/Buttons?
The most recent commit recorded on alexwolfe/Buttons was 1.2 years ago, based on the GitHub push timestamp. The repository has 835 forks — one of the better signals of community interest.
Is alexwolfe/Buttons open source?
TopGit's metadata for alexwolfe/Buttons does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
Where can I see alexwolfe/Buttons in action?
The project maintains a homepage at http://unicorn-ui.com/buttons/builder/. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about alexwolfe/Buttons?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/alexwolfe/Buttons is the definitive source.
Read full README in the tab above.
Still deciding about Buttons?
One click hands the question to an AI along with this page — see what it says about Buttons.