Sketch adds a bunch of useless markup that you can remove. You should end up with something like the code above. Note that I’ve added classNames to the bounding box, and the heart path itself. This will let me target these shapes directly in my CSS later when I want to change the color on hover, for example.

4. Style it with CSS

Your final component should look something like this: (I’m using styled-components for styling)