wocss-components-button

[DEPRECATED] wocss button component

Usage no npm install needed!

<script type="module">
  import wocssComponentsButton from 'https://cdn.skypack.dev/wocss-components-button';
</script>

README

This module is DEPRECATED

See the starter-kit

Button

Component

The wocss-components-button module contains button component, a styled button that scales to any size.

Install using npm:

$ npm install wocss-components-button --save

Usage

With a tool like webpack you can import this module writing:

// dependencies imports

@import '~wocss-components-button';

Then you can use the c-button class for a styled button:

<button class="c-button" type="button">Cool</button>
<a class="c-button" href="#!">Awesome</a>

Modifiers

  • o-button--outline for a outline button.
  • o-button--oval for a oval button.

Dependencies