<div>{mass}<img src={base+'/mass.svg'} alt="mass"/></div>

<script>
    import { base } from '$app/paths';
  export let mass = 0;
</script>

<style>
  img {
    width: 0.75em;
    display: inline-block;
    margin-left: 0.5em;
  }
</style>
