Page:
Progress
Pages
Accordion
AccordionItem
Alert
Avatar
Badge
BarChart
Button
ButtonGroup
Card
Changelog
ChartLegend
Checkbox
CodeEditor
Collapsible
Combobox
CommandPalette
ContextMenu
CopyButton
DatePicker
Dialog
DonutChart
Drawer
Field
FileInput
FileList
Forms
Gauge
Getting started
Heatmap
Home
Image
InlineEdit
Input
Kbd
Label
LineChart
Menu
MultiSelect
NumberInput
Overlays
Pagination
Popover
Progress
RadioGroup
Scroller
Select
Separator
ShareBar
Sheet
Skeleton
Slider
Sparkline
Spinner
StatCard
Switch
Table
Tabs
TagsInput
Textarea
Theming
Toaster
Toggle
Tooltip
Tree
No results
2
Progress
L4stIdi0t edited this page 2026-09-21 11:20:10 +02:00
Progress
role="progressbar" with aria-value.*
Pass value=null for an indeterminate bar (announced as busy, animated fill).
Feedback
<script lang="ts">
import { Progress } from '@l4st/driftwood';
</script>
| Light | Dark |
|---|---|
![]() |
![]() |
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
value |
number | null |
0 |
null is indeterminate — an unknown duration, not zero progress. |
max |
number |
100 |
The value that counts as complete. |
class |
string |
— | Merged with the component's own classes, last — so yours win. |
aria-label |
string |
— | Names the bar, e.g. "Scan progress". |
aria-labelledby |
string |
— | Id of the element that names this, instead of aria-label. |
Example
The markup behind the screenshot above, lifted from src/routes/shots/ — so it
compiles, and it is exactly what produced the image.
<Progress value={62} aria-label="Scan progress" />
<Progress value={null} aria-label="Working" />
Feedback · Badge · Alert · Spinner · Skeleton · Toaster · Avatar · Image
driftwood
Layout
Actions
Forms
- Field
- Input
- FileInput
- FileList
- Textarea
- CodeEditor
- Combobox
- RadioGroup
- NumberInput
- InlineEdit
- Label
- Select
- MultiSelect
- DatePicker
- TagsInput
- Checkbox
- Switch
- Slider
Feedback
Charts
Overlays
Navigation
Generated from the source by pnpm wiki · repository · v0.24.0

