Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Ion-chip with icon only

$
0
0

How can I create an ion-chip with an icon only.
I.e.: No ion-label and still make it look circular?

If I leave the label empty not have one and only use an icon, I get unexpected paddings/margins making the chip/icon look un-centered:
image
image
image

I want something that looks more like this:
image
(example taken from google)

Ideally there would be an option to set: slot="icon-only" to stick to the same api that I am already used to for ion-buttons. :wink:

Any ideas?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>