Skip to content
On this page

Button ​

Common operation buttons.

Usage ​

type ​

Use type and state to define the style of the button.

size ​

Buttons stacked small to large sizes.

state ​

shape ​

Predefined the shape of the button.

Custom color ​

You can customize the color of the button, and the state attribute will be invalid.

The color of the button is defined by the color attribute, and the background color of the button is defined by the background attribute.

disabled ​

You can use the disabled attribute to define whether the button is disabled.

icon ​

Button with icon.

Props ​

Slots ​

MIT Licensed