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
| 1 | npm install @driveloader/react |
| 2 | # or |
| 3 | pnpm add @driveloader/react |
| 4 | # or |
| 5 | yarn 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.
