TuMarca

Progress

Displays an indicator showing the completion progress of a task.

stable
Tipo: ui
Versión: 1.0.0
feedback progress loading indicator bar

Comparación entre la versión Astro (Saastro) y React (shadcn/ui)

🚀 saastro/ui (Astro)
⚛️ shadcn/ui (React)

Installation

Usage

---
import { Progress } from "@/components/ui-saastro/progress"
---

<Progress value={60} />

Examples

Default

<Progress value={60} />

Custom Max

<Progress value={30} max={50} />

Indeterminate

Without a value, the progress bar can be styled for indeterminate state.

<Progress />

Props

PropTypeDefaultDescription
valuenumber-The current progress value
maxnumber100The maximum progress value
classstring-Additional CSS classes

Accessibility

  • Uses role="progressbar" for proper semantics
  • Includes aria-valuemin, aria-valuemax, and aria-valuenow attributes
  • Screen readers announce the current progress
  • Omit value for indeterminate progress states