Component packs › Hoist › Sync Status

Sync Status

A small hoist shows the state: empty hook when synced, sheets lifted while syncing, a waiting sheet offline, a swinging one on error.

Sync Status is a status from Hoist, a component pack with 6 file upload components: File upload components where every file is a paper sheet lifted on a steel cable. Price: $2 for the whole pack.

Built with: four live states, counting lifts, polite live region.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Sync Status props

PropTypeDefaultDescription
stateSyncState
totalnumberFiles in this sync.
filestringName of the file that failed.
laststringWhen the last sync finished, e.g. "14:32".
widthnumber340Width in px. Default 340.
darkboolean
onRetry() => void
autoplaynumber | falseShowcase mode: steps through the states every N ms while visible.

Methods on the ref

Use it in React

import SyncStatus from './SyncStatus';

<SyncStatus />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Hoist

Good for: File upload.