React Package
React Package
React components and hooks for file uploads
@nilovon/bucketkit-react
The React package provides components and hooks for building beautiful upload interfaces.
Features
- BucketKitDropzone - Drag & drop file uploads
- BucketKitUploadButton - Click to upload button
- BucketKitUploadList - Progress tracking list
- Hooks - Full control with custom UIs
Installation
pnpm add @nilovon/bucketkit-reactQuick Start
import {
BucketKitProvider,
BucketKitDropzone,
BucketKitUploadList,
} from '@nilovon/bucketkit-react';
function App() {
return (
<BucketKitProvider endpoint="/api/upload">
<BucketKitDropzone />
<BucketKitUploadList />
</BucketKitProvider>
);
}Next Steps
- Getting Started - Full setup guide
- Components - All available components
- Hooks - Build custom UIs
- Styling - Customize appearance