A btn for use with Tachyons


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
20Jan 23, 2019Oct 10, 2017Minified + gzip package size for @mikker/btn in KB



DEMO and usage

A .btn class for use with Tachyons.

Even though Tachyons' strictly functional style is great I always find myself re-adding some kind of base button to every project. This is it.


Put this in your html before you include Tachyons.

<link rel='stylesheet' href='https://unpkg.com/@mikker/btn@latest/css/btn.css' />

Or add it directly to your project:

npm install @mikker/btn
# or
yarn add @mikker/btn

Then using postcss or however you'd like

@import '~tachyons';

@import '~btn';
/* or if you want to customize variables */
@import '~btn/src/btn';

NB: Be sure to include btn.css before `tachyons.css.



If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.