Vue Button - Material

PRO

The MaterialButton component provides different styles, and sizes for creating a button.


Demo

Props Information

NameTypeDefaultDescription
variant'fill''outline''gradient'containedChange the MaterialButton background color type.
size'sm''md''lg'mdChange the MaterialButton size.
color'primary''secondary''info''success''warning''danger''light''dark''white'successChange the MaterialButton background color.
fullWidthboolfalseIf true the MaterialButton gets a block level width.
activeboolused to set MaterialButton state to active.
slotnodeThe MaterialButton has a default slot that you can pass node or content inside it.

Variants

Sizes

With Icon

Block