0.0.2 • Published 8 months ago

@licuido-ui/ui_linear-progress v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

LinearProgress

LinearProgress indicators inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates.

Author

Link

Story Book Link LinearProgress

PlayGround

Try it have a fun codeBox

Installation

npm i @licuido-ui/ui_linear-progress

Import component

import { LinearProgress } from '@licuido-ui/ui_linear-progress';

Usage

<LinearProgress value={20} thumbPrimaryColor='#7377f5' thumbSecondaryColor={'#b2b1fa'} />

Image

alt text

Sample Code

<LinearProgress
  value={20}
  variant={'indeterminate'}
  thumbHeight={10}
  className={'linear_progress'}
  valueBuffer={3}
  progressLabel={true}
  linearBarStyle={{ backgroundColor: '#fdd' }}
  symbols={'%'}
  symbolsColor={'#f00'}
  isShowToolTip={false}
  TooltipTextColor={'#ff0'}
  TooltipBgColor={'#fd0d'}
  TooltipArrowColor={'fd0d'}
  thumbPrimaryColor={'#7377f5'}
  thumbSecondaryColor={'#b2b1fa'}
/>

Props

NameDescriptionDefaultControl
value*number2020
idstringstringstring
variant"buffer" | "determinate" | "indeterminate" | "query""indeterminate"buffer or determinate or indeterminate or equery
valueBuffernumber1515
progressLabelboolean"label"False or True
linearBarStyleSxProps{}linearBarStyle : {}
symbolsstring"%"'%'
thumbHeightnumber3030
isShowToolTipbooleanfalseFalse or True
TooltipTextColorstring"#Fd2d"linear-gradient(rgba(255,0,0,0), rgba(255,0,0,1))
TooltipBgColorstring"#fdfd"linear-gradient(rgba(255,0,0,0), rgba(255,0,0,1))
TooltipArrowColorstring"#d2d22dlinear-gradient(rgba(255,0,0,0), rgba(255,0,0,1))
symbolsColorstring#f4f44dlinear-gradient(rgba(255,0,0,0), rgba(255,0,0,1))
thumbPrimaryColorstring#f4f44dlinear-gradient(rgba(255,0,0,0), rgba(255,0,0,1))
thumbSecondaryColorstring#f4f44dlinear-gradient(rgba(255,0,0,0), rgba(255,0,0,1))
classNamestring#f4f44dSet string
sxSxProps{}Set object