Looking to display a button with an SVG image and text side by side in a row.
This is how I am currently doing it:
<button class='btn btn-primary' style='background-color:purple; display: flex;'>
<div style='text-align:center;'>
<img src="assets/icons/Icon awesome-crown.svg" class="img-fluid" width="20px" height="20px">
</div>
Top Pick
</button>
As of now, the output looks like this:
https://i.sstatic.net/Jnqe8.png
However, my goal is to achieve this look: