Skip to content

Q-btn and icon styling #9618

Jun 9, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

The correct syntax is fas fa-sign-out-alt without the extra "icon". Here's the naming convention for all "icon" props (both links have same information):

Also make sure that you have the latest @quasar/extras installed.

Also, for best results when using icon props on a QBtn it's recommended to also use the label prop.

<q-btn flat align="left" class="full-width" icon-right="fas fa-sign-out-alt" :label="$t("common.logout")" />

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@peihaochan
Comment options

@ontwikkelfabriek
Comment options

@peihaochan
Comment options

Answer selected by rstoenescu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants