Akbarak Next.js SDK
Integrate professional-grade image processing and hosting into your React applications with zero friction.
Installation
npm install @filecast/nextjsBasic Component Usage
Use the primitive Dropzone component to handle file processing directly in the user's browser without complex backend logic.
import { AkbarakDropzone } from '@filecast/nextjs';
export default function MyPage() {
return (
<AkbarakDropzone
onProcessComplete={(link) => console.log('Hosted at:', link)}
autoCompress={true}
accentColor="#3b82f6"
/>
);
}Features
Client-Side Compression
Reduces bandwidth costs by compressing images before upload.
Progressive Loading
Built-in placeholder generation for ultra-fast perceived load times.
Theme Customization
Full control over the UI components, compatible with Tailwind CSS.