Button


Import

Usage

Button

Editable Code

Button Floating

Editable Code

Button with Icon

Editable Code

Props

width

Description

It is used to set the width of the button.

Values

String with valid width.

height

Description

It is used to set the height of the button.

Values

String with valid height.

color

Description

It is used to set the color of the button.

Values

primary | secondary | accent | error | warning | success

floating

Description

It is used to set the position of the button based on the view port.

Values

Boolean value.

top | right | bottom | left

Description

It is used to set the position of the button when the "floating" prop is true.

Values

String with valid position.

Note

To learn about customizing the components check this section of the docs.