Progress
The bar fills to value out of max. Pass indeterminate when you can't measure progress; the bar then loops and ignores value.
Installation
Copy the command below and run it in your terminal.
Usage
value defaults to 0 and max to 100. Values outside that range are clamped. Progress renders no label, so place one next to it.
Examples
Determinate
report-2024.pdf
2.1 MB of 4.8 MB
Indeterminate
Querying data warehouse…
With label
Deploying to production
58%Anatomy
Progress - Fills to value out of max, or loops.
<script lang="ts"> import { Progress } from '@sivir-ui/svelte/components/progress'; </script> <Progress value={65} class="w-full max-w-md" />