Skip to content

docs(button): add icon button to readme #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions src/components/button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Button types

There are four types of buttons:
There are five types of buttons:
1. Flat buttons - `md-button`
* Rectangular button
* Defaults to white background
Expand All @@ -13,12 +13,16 @@ There are four types of buttons:
* Rectangular button
* Defaults to white background
* Box shadow applied
3. Floating Action Buttons (FABs) - `md-fab`
3. Icon buttons - `md-icon-button`
* Circular button
* Transparent background
* 40 by 40 px
4. Floating Action Buttons (FABs) - `md-fab`
* Circular button
* Defaults background to "accent" palette defined in theme
* Box shadow applied
* 56 by 56 px
4. Mini Floating Action Buttons (Mini FABs) - `md-mini-fab`
5. Mini Floating Action Buttons (Mini FABs) - `md-mini-fab`
* Circular button
* Defaults background to "accent" palette defined in theme
* Box shadow applied
Expand All @@ -32,6 +36,9 @@ Example:
```html
<button md-button>FLAT</button>
<button md-raised-button>RAISED</button>
<button md-icon-button>
<i class="material-icons md-24">favorite</i>
</button>
<button md-fab>
<i class="material-icons md-24">add</i>
</button>
Expand Down