Media Library - v1.2.2
Frontend Components
The Media Library provides pre-built React and Vue component sets for applications using Inertia.js or other SPA frameworks. These components mirror the functionality of the Livewire components but are designed for React/Vue frontends.
Overview
| Stack | Components | Published To |
|---|---|---|
| React | 11 components + 3 hooks | resources/js/vendor/media-library/ |
| Vue | 12 components + 3 composables | resources/js/vendor/media-library-vue/ |
Both stacks include:
- Full TypeScript type definitions
- API utility for Sanctum-authenticated requests
- Shared type definitions (
media.d.ts)
Sections
- React Components - React components, hooks, and usage
- Vue Components - Vue components, composables, and usage
- Frontend Installation - Install command and setup
- Config API Endpoint - Client-side upload validation