Skip to content

Button

Commonly used buttons.

Basic (default)

Usage

html
<template>
  <pm-button>Default</pm-button>
  <pm-button type="secondary">Secondary</pm-button>
</template>

Icon

Usage

html
<template>
  <pm-button flat>Default</pm-button>
  <pm-button type="secondary" flat>Secondary</pm-button>
</template>

Flat

Usage

html
<template>
  <pm-button flat>Default</pm-button>
  <pm-button type="secondary" flat>Secondary</pm-button>
</template>

API

Attributes

NameDescriptionTypeDefault
flatflat buttonbooleanfalse
typebutton type (color)enum
primary, secondary, info, success, warning, danger
primary