Buttons
Quasar Buttons are of two shapes: rectangle (regular) and circular. They come in three sizes: small, medium (default) and big. As for the colors, use the ones from Quasar CSS Color Palette. There are some more CSS classes that you can use to enhance the appearance of a button.
For circular buttons only use icons as content.
Basic Usage
|
When adding an icon to a regular button, use on-left
or on-right
CSS classes:
Button Sizes
Use small
or big
CSS classes. You don’t need to specify medium
because that’s the default size.
Button Colors
Use the ones from Quasar CSS Color Palette. Examples: primary
, orange
, lime
.
More Button CSS Classes
There are also the raised
, clear
, outline
, push
, bordered
, round
and glossy
CSS classes that you can use.
Make use of globally available disabled
, block
(sets CSS display
property to block
) or full-width
.
Progress Buttons
There’s also a type of button that has its own Quasar Component named <q-progress-button>
. Check documentation here.