DriveLoader Logo
DriveLoaderv1.2.0
Docs/Installation & Setup

Installation & Setup

Add @driveloader/react to your project using npm, pnpm, yarn, or bun.

Overview

DriveLoader is a lightweight, zero-dependency peer SDK. It works seamlessly with React 17/18/19 and Next.js.

Code Example

installation.tsx
1npm install @driveloader/react
2# or
3pnpm add @driveloader/react
4# or
5yarn add @driveloader/react

Best Practices

  • Import '@driveloader/react/styles.css' in your global layout/App.tsx for default skeleton animations.

Common Mistakes

  • ×Forgetting to import the CSS file when using DriveAudio or DriveGallery components.

Related APIs