Blossom UI

Progress

Progress bar component with five sizes, colors, label, percentage and animated transitions.

How to use it

Run npx @blossomui/react add progress-bar, or copy src/components/UI/Progress/ProgressBar.tsx into your React project and import it.

import { ProgressBar } from './components/ui/ProgressBar'

Props

ProgressBarProps

PropTypeDescription
value (required)numberCurrent progress from 0 to 100.
sizeProgressSize
colorProgressColor | (string & {})A preset, `accent` for the brand color or any CSS color.
labelstringText shown above the bar, next to the percentage.
showValuebooleanShow the percentage above the bar.
showValueInsidebooleanShow the percentage inside the bar (use with size lg or bigger).

Getting started

  • Introduction
  • Installation
  • Changelog

Customization

  • Colors
  • Brand color
  • Texts and translation

Components

  • Accordion
  • Alert dialog
  • Alerts
  • Avatar
  • Badges
  • Banner
  • Breadcrumb
  • Buttons
  • Calendar
  • Cards
  • Carousel
  • Charts
  • Chip input
  • Collapsible
  • Color picker
  • Combobox
  • Command palette
  • Context menu
  • Copy button
  • Date picker
  • Drawer
  • Dropdown
  • Empty state
  • File upload
  • Footer
  • Forms
  • Hover card
  • Jumbotron
  • KBD
  • Menubar
  • Modal
  • Navbar
  • Navigation menu
  • Number input
  • OTP input
  • Pagination
  • Popover
  • Pricing
  • Progress
  • Rating
  • Resizable panels
  • Scroll area
  • Segmented control
  • Separator
  • Sidebar
  • Skeleton
  • Slider
  • Spinners
  • Stats
  • Stepper
  • Survey
  • Table
  • Tabs
  • Time picker
  • Timeline
  • Timer button
  • Toasts
  • Tooltip
  • Transfer list
  • Tree