@modufolio/media

Media-library UI for Appkit portfolio sites — album sidebar, media grid, inspectors, upload queue, and their composables (Vue 3 + Inertia).
494
Install
npm install @modufolio/media
Latest Version:0.3.0
Vue:3
License:MIT
Last Updated:Sep 14, 2026
Links: npm
Maintainer: nicecoder

@modufolio/media

The media-library UI for Appkit portfolio sites — album sidebar and tree, media grid, inspectors, upload queue, and the composables that drive them. Vue 3 + Inertia, built to sit on top of @modufolio/panel.

Install

npm install @modufolio/media

Peers you provide: vue, @modufolio/panel, @inertiajs/vue3, @vueuse/core (and lodash if you use the composables that need it).

Use

import { AlbumSidebar, MediaGrid, useFavorites, useFeatured } from '@modufolio/media'
import '@modufolio/media/styles'

Components are styled with Tailwind utility classes — tell Tailwind v4 to scan the package so they are generated (auto-detection skips node_modules):

@source "../node_modules/@modufolio/media/dist";

On Tailwind v3, the equivalent is a content glob: './node_modules/@modufolio/media/dist/**/*.js'.

The small styles export carries the two scoped-style blocks that are not utility classes.

Develop

Apps in the Modufolio family compile this package from source by aliasing @modufolio/media to ui/src/index.ts — the same arrangement as @modufolio/panel. npm run build produces dist/ for npm consumers.

Related Packages

lingallery

A simple image gallery component for Vue.js

33,398 59
vue-my-photos

Simple lightbox component for Vue 3 applications

26,698 52
vue-photoswipe.js

A directive supported plugin for PhotoSwipe in Vue.js components.

2,168 1
vue-photo-album

Responsive photo gallery component for Vue

9,198 38
vue-photo-album-fork

Responsive photo gallery component for Vue

983

Version History

Version Released Vue License
0.3.0 ^3.5.0 MIT
0.2.0 ^3.5.0 MIT
0.1.0 ^3.5.0 MIT