Button
Last updated
Last updated
Type: DefaultComponent
Overrides the default button's style.
Ghost: A class which gives the button a transparent background. Upon hover and focus states, the background changes to a semi-transparent black color and the text color changes to be whichever color class the button was given.
Masked: A class which gives the button a transparent background. Upon hover and focus states, the background changes to whichever color class the button was given and text color remains the same.
You can add these classes to change the default size.
Format: btn-{size}
Options: sm
for small, lg
for large, xl
for xLarge
You can add a color code class to change the default color. There is no need for btn prefix. For color list, see Colors.