info

This documentation is for legacy 1.0.0-beta.x version of Developer portal. For the latest documentation, refer to 1.1.0-beta.x docs.

Copy
Copied
<Button to="#">Default</Button>

<Button to="#" inversed>
  Inversed
</Button>

<Button to="#" transparent>
  Transparent
</Button>

<Button to="#" transparent inversed>
  Transparent inversed
</Button>

<Button to="#" large>
  Large
</Button>

<Button to="#" small>
  Small
</Button>

Props

NameTypeDescription
tostringThe URL to link to when the button is clicked.
variant'contained' | 'outlined'Button variant. Default value: contained
size'small' | 'medium' | 'large' | 'xlarge'Button size Default value: medium
color'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error'Defines color of the button, can use custom color from 'theme.colors' Default value: primary