class RatatuiRuby::Gauge

Displays a standard progress bar.

Long-running tasks create anxiety. Users need to know that the system is working and how much is left to do.

This widget visualizes completion. It fills a bar based on a percentage.

Use it for downloads, installations, or processing jobs.

Examples

Gauge.new(
  ratio: 0.75,
  label: "75%",
  gauge_style: Style.new(fg: :green)
)