Skip to content
WunderUI

Media library

Pro

A media library: masonry grid, selection, file detail, upload queue and sharing.

npx wunderui-cli add media/gallery

A masonry of files with collections, type filters, sorting and favorites.

Components used

25 components from the library, across all 5 variants.

Notes for AI

What a coding assistant needs to adapt this block.

Install
npx wunderui-cli add media/gallery

Needs a WunderUI Pro license.

Variants

One file per variant, each a whole page. Pick the variant closest to the screen you need and keep its components.

Shared

_data.ts, _library.tsx, _parts.tsx, _viewer.tsx in pro/blocks/media/library hold the sample data and parts the variants share. The sidebar and top bar come from BlockFrame with accent="indigo"; the accent marks the active navigation, chart series 1 and selected states.