G
Tokens
TypographySpacingColorRadiusShadowMotion

Progress

Value


    () => {
      const [value, setValue] = React.useState(20);
      return (
        <Stack gap="m">
          <Box maxWidth="160px">
            <Slider
              value={value}
              onChange={(e) => setValue(parseInt(e.target.value))}
              min={0}
              max={100}
              step={1}
            />
          </Box>

          <Text>Value: {value}%</Text>

          <Progress value={value}/>
        </Stack>
      )
    }


Props

Name
Type
Default
max
number
100
value
number