Next to the properties listed in the propstable, a collection of system props can be added to any component for further general styling and layouting purposes. These props vary per component.
To differentiate between levels of emphasis, there are 4 possible appearances a
button can have.
<Buttonappearance="primary">Primary</Button>
<Buttonappearance="secondary">Secondary</Button>
<Buttonappearance="plain">Plain</Button>
<Buttonappearance="outline">Outline</Button>
Width
default: auto
By default, buttons will only take up the space necessary in order to fit its
text content and the needed padding. In order for your button to fill the
complete surrounding element, you can adjust the width parameter.
<Buttonwidth="full">Full width button</Button>
Size
default: large
Buttons come in different shapes and sizes.
<Buttonsize="large">Large button</Button>
<Buttonsize="small">Small button</Button>
Loading
default: false
To indicate to a user that something is loading, you can pass in the loading
prop.