Q-btn and icon styling #9618
-
Hi there! I currently have a problem and do not know how to go about solving it. I am looking to have a Full width Quasar button, with text to the left and icon to the far right of the Button. However the icon is only to the right side of the text and not sure how to get it to the far right of the button My code
How it currently looks; And I want it to look more like this; Is there any possible way with the Quasar framework? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The correct syntax is
Also make sure that you have the latest Also, for best results when using icon props on a QBtn it's recommended to also use the
|
Beta Was this translation helpful? Give feedback.
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.