PU-Progress Component

A versatile progress indicator component with multiple display modes and size options

Usage

Basic Usage

PropTypeRequiredDefaultDescription
moderadial | horizontal | verticalYes-Display mode of the progress indicator
progressnumberYes-Progress value (0 to 100)
sizesmall | medium | largeNomediumSize of the progress indicator
  • Base styling with Tailwind:
    /* Radial Mode */
    .radial-progress {
      @apply transform -rotate-90;
    }
    
    /* Horizontal Mode */
    .horizontal-progress {
      @apply w-full bg-gray-200 rounded-lg overflow-hidden;
    }
    
    /* Vertical Mode */
    .vertical-progress {
      @apply bg-gray-200 rounded-lg overflow-hidden;
    }
    
  • Progress bar colors:
    .progress-bar {
      @apply bg-primary-light-500 transition-all duration-300;
    }
    
  • Three display modes: radial, horizontal, and vertical
  • Smooth progress transitions
  • Multiple size options
  • Accessible markup
  • Customizable styling
  • Tailwind CSS for styling