G-Loot DS — progressbar

by Augustin Hiebel

HTML

<!-- You can either use the css variable --percent to handle the value of the bar... -->
<div className='progressbar' style={{"--percent": value}}>
  <div />
</div>

<!-- ... or change the inline width of the inner div -->
<div className='progressbar'>
  <div style={{ width: value }} />
</div>