For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /examples/loading-states.md.

Loading States

A file manager that shows each kind of loading feedback: progress bars, skeleton rows, spinners and a toast when everything finishes.

Built with the UI components: Progress, Skeleton, Spinner, Toast, Card, Badge, Separator and Button.

What it shows

  • Progress for known amounts — each upload's Progress bar advances on a setInterval, and a Badge marks it done.
  • Skeletons while content loads — Skeleton rows stand in for Recent Files for 1.5 seconds at startup, and again after Reload.
  • Spinners for unknown waits — a Spinner appears next to "Syncing...", and the upload Button shows its own with loading while its label says "Uploading...".
  • A toast on completion — toast() reports when every upload has finished.