1.2.2 • Published 2 years ago

@octorchard/buttonz v1.2.2

Weekly downloads
-
License
Unlicense
Repository
github
Last release
2 years ago

buttonz

A CSS Button library

Hey there! Buttonz is a beautiful set of button styles for the modern web. It can be used by anyone wanting to enhance the look of their buttons without writing a thousand lines of code. Buttonz is also responsive for mobile screens!

Buttonz is aimed to be tiny (~1kB) and very productive so that you can kick start by just adding a single CSS file to your existing project.

Though, it is recommended to also use modern-normalize.

Usage

Transpile it yourself

git clone https://github.com/octorchard/buttonz
cd buttonz
sass src/main.scss build/buttonz.css --style compressed -c

build/buttonz.css is the minified CSS file. Along with it is the source map (which is not necessary to use).

Get it from the releases page

Head over to releases and download the buttonz-vX.Y.Z.zip file which contains the minified CSS file and the source map.

(Note: starting from v1.1.0, the CSS and the sourcemap are available separately, there is no .zip)

Images

No styling:

No styling

With the btn class:

With btn class

Some extra colors as well - orange, emerald, aqua, purple, rose, white:

Extra colors

And sizes! 3 extra - medium, large and huge:

Sizes

Links with the .btn class are also styled:

Links

Disabled buttons have a lighter background (either add the disabled attribute or the disabled class):

Disabled

All the color variants also have a lighter background if they are disabled:

Disabled

<a href="/" class="btn">This is a link!</a>

Hope you like it!

License: Unlicense

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago