81 Pro components and page blocks

Get Pro

Liquid Progress

New

Preview

Customize

Color
Height12px

Installation

npx shadcn@latest add https://uibrik.com/r/liquid-progress.json
Adds the files to components/uibrik/liquid-progress and installs @number-flow/react, @tabler/icons-react and motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/liquid-progress.

Usage

import { LiquidProgress } from "@/components/uibrik/liquid-progress/liquid-progress";​<LiquidProgress  value={0}  label="Uploading"  doneLabel="Completed"  color="#16a34a"  height={12}  showValue  onComplete={() => {}}/>

Props

LiquidProgress
label
Type string
"Uploading"
Names what's loading; also the accessible name.
doneLabel
Type string
"Completed"
Status shown with a check once the fill reaches the end.
color
Type string
"#16a34a"
Colour of the fill, drawn as a run of its tones.
height
Type number
12
Height of the track.
showValue
Type boolean
true
Show the percentage beside the label.
valuerequired
Type number
–
Progress from 0 to 100.
onComplete
Type () => void
–
Called once when the fill reaches the end.
className
Type string
–
Classes for the outer wrapper.