# Buttons

The button component renders a primary- or secondary- branded button in a range of sizes.

The button either renders a button element or a link element based on if an onClick or url respectively was provided to the button.

Ex.

```js
<Button onClick={handleOnClick} />

// will render
<button onClick={handleOnClick} />
```

```js
<Button href="https://wealthsimple.com/somefancyurl" />

// will render
<a href="https://wealthsimple.com/somefancyurl" />
```
