Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anthonygore/i-button

A simplistic button forked from VueMaterial inspired in Material Design Style Guide
https://github.com/anthonygore/i-button

Last synced: about 1 month ago
JSON representation

A simplistic button forked from VueMaterial inspired in Material Design Style Guide

Awesome Lists containing this project

README

        





i-button


Downloads


Version


License

----------

`i-button` is a simplistic button forked from `vue-material` inspired in Material Design specs.

## Installation

Install via `npm`
``` bash
npm install i-button --save
```

Import or require in your code:
``` javascript
import Vue from 'vue'
import iButton from 'i-button'

// OR

var Vue = require('vue')
var iButton = require('i-button')
```

## Installation

### Module

``` javascript
import iButton from 'i-button'

// ...

export default {
// ...
components: {
'my-awesome-button': iButton,
}
// ...
}
```

### Browser

```html

Vue.use(iButton);

new Vue({
el: '#app'
});

```

## Usage

It's very useful to use `i-button` you only need to register then :smile: seems like with

``` html

🗑

```
You also can use some properties like
#### A Link _(href & target & rel)_
``` html

🗑

```
#### Button _(disabled & type)_
``` html

🗑

```

## Colors

Actually we have 10 colors, are:
* red
* pink
* blue
* gray
* black
* white
* green
* purple
* yellow
* orange

## Classes

Classes are formed by `prefix-type-color`, examples:
* `is-color-green`
* `is-outline-green`
* `is-background-green`

## Example

to-do