-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(button): update shape and icons playgrounds to showcase circular…
… icon buttons (#3594)
- Loading branch information
1 parent
dce9de2
commit 7d40ea8
Showing
10 changed files
with
203 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,43 @@ | ||
```html | ||
<ion-button size="small"> | ||
<ion-icon slot="icon-only" ios="logo-apple" md="settings-sharp"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button> | ||
<ion-icon slot="icon-only" ios="logo-apple" md="settings-sharp"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button size="large"> | ||
<ion-icon slot="icon-only" ios="logo-apple" md="settings-sharp"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button size="small"> | ||
<ion-icon slot="start" name="star"></ion-icon> | ||
Left Icon | ||
</ion-button> | ||
|
||
<ion-button> | ||
<ion-icon slot="start" name="star"></ion-icon> | ||
Left Icon | ||
</ion-button> | ||
|
||
<ion-button size="large"> | ||
<ion-icon slot="start" name="star"></ion-icon> | ||
Left Icon | ||
</ion-button> | ||
|
||
<ion-button size="small"> | ||
Right Icon | ||
<ion-icon slot="end" name="star"></ion-icon> | ||
<ion-icon slot="end" name="heart"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button> | ||
<ion-icon slot="icon-only" name="star"></ion-icon> | ||
Right Icon | ||
<ion-icon slot="end" name="heart"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button size="large"> | ||
Right Icon | ||
<ion-icon slot="end" name="heart"></ion-icon> | ||
</ion-button> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,43 @@ | ||
```html | ||
<ion-button size="small"> | ||
<ion-icon slot="icon-only" ios="logo-apple" md="settings-sharp"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button> | ||
<ion-icon slot="icon-only" ios="logo-apple" md="settings-sharp"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button size="large"> | ||
<ion-icon slot="icon-only" ios="logo-apple" md="settings-sharp"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button size="small"> | ||
<ion-icon slot="start" name="star"></ion-icon> | ||
Left Icon | ||
</ion-button> | ||
|
||
<ion-button> | ||
<ion-icon slot="start" name="star"></ion-icon> | ||
Left Icon | ||
</ion-button> | ||
|
||
<ion-button size="large"> | ||
<ion-icon slot="start" name="star"></ion-icon> | ||
Left Icon | ||
</ion-button> | ||
|
||
<ion-button size="small"> | ||
Right Icon | ||
<ion-icon slot="end" name="star"></ion-icon> | ||
<ion-icon slot="end" name="heart"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button> | ||
<ion-icon slot="icon-only" name="star"></ion-icon> | ||
Right Icon | ||
<ion-icon slot="end" name="heart"></ion-icon> | ||
</ion-button> | ||
|
||
<ion-button size="large"> | ||
Right Icon | ||
<ion-icon slot="end" name="heart"></ion-icon> | ||
</ion-button> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
```html | ||
<ion-button>Default</ion-button> <ion-button shape="round">Round</ion-button> | ||
<ion-button>Default</ion-button> | ||
<ion-button shape="round">Round</ion-button> | ||
<ion-button> | ||
<ion-icon slot="icon-only" name="heart"></ion-icon> | ||
</ion-button> | ||
<ion-button shape="round"> | ||
<ion-icon slot="icon-only" name="heart"></ion-icon> | ||
</ion-button> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
```html | ||
<ion-button>Default</ion-button> <ion-button shape="round">Round</ion-button> | ||
<ion-button>Default</ion-button> | ||
<ion-button shape="round">Round</ion-button> | ||
<ion-button> | ||
<ion-icon slot="icon-only" name="heart"></ion-icon> | ||
</ion-button> | ||
<ion-button shape="round"> | ||
<ion-icon slot="icon-only" name="heart"></ion-icon> | ||
</ion-button> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters