Upload Sound Status
Transfer progress with a subtle completion cue and a reusable upload-state surface.
Upload status
Sound-backed feedback for transfer states.
Installation#
pnpm dlx shadcn@latest add @davinciui/upload-sound-statusUsage#
API Reference#
| Prop | Type | Default |
|---|---|---|
durationDemo transfer duration in milliseconds. | number | 2400 |
fileNameFile name shown in the transfer row. | string | "davinciui-components.zip" |
fileSizeMBFile size driving the live speed and ETA readout. | number | 48.6 |
cancelableShows a Cancel upload action while a transfer is running. | boolean | true |
mutedSkips the completion cue for silent (preview) runs. | boolean | false |
onCompleteRuns when transfer progress reaches completion. | () => void | — |
Accessibility#
Buttons have visible text and focus-visible rings, but the progress bar lacks role=progressbar and aria-valuenow, and status text is not a live region, so updates are not announced. Completion plays an oscillator ping unless muted.
Motion#
While uploading the progress fill shows 0.7s linear diagonal stripes; otherwise width changes with a 0.2s transition. A prefers-reduced-motion media query disables the stripes, but the width transition still applies.
View source
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.

