Skip to content

Uplofile

Composable file upload components for React, accessible, and easy to integrate.

Composable

Edit src/content/docs/index.mdx to see this page change.

Accessible

Add Markdown or MDX files to src/content/docs to create new pages.

Stylable

Edit your sidebar and other config in astro.config.mjs.

Can I limit the number of files? Use maxCount on Root.

Can I pre‑hydrate already‑uploaded files? Pass initial=[{ id?, uid?, name, url }]. They’ll be shown as done and included in HiddenInput.

How do I do strict server‑side delete? Set removeMode="strict" and implement onRemove(item, signal).

Do I have to use Tailwind? No. The components are unstyled besides minimal examples; you can render your own UI with the render props and actions.