charcell 0.1.0
mode

Progress

a bar that fills in whole cells.

usage

example

code

import { Progress } from 'charcell/react';

export function ProgressExample() {
  return <Progress value={42} label="filling the gas can" showValue />;
}

as text

at rest
filling the gas can                  42%

props

valuenumber
How far along, between min and max; the fill snaps down to whole cells. Left out, the bar is indeterminate.
minnumber= 0
The value at an empty track.
maxnumber= 100
The value at a full track.
labelstring
Names the bar, and leads the row in the mid gray.
showValueboolean
Prints the whole percent after the track.

it also takes any other attribute of its <div>.