npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

strapi-plugin-grid-view

v0.1.11

Published

A card grid for the Strapi content manager list view, similar to the Media Library. Plus full-size previews for the images in it.

Readme

Strapi plugin grid view

Two ways to see media in the Strapi content manager.

Grid view adds a button to the list view, next to the view settings cog, that switches it between Strapi's list and a card grid. Just like it does with the Media Library. The choice is remembered per collection type, per browser - a table of covers can stay a grid while a table of short fields stays a list.

Image previews put the full-size image on screen wherever Strapi already offers a look at one: the popover over a media cell in the list view, and the carousel on a media field in an entry. Both normally show a thumbnail, so the file name is swapped for the original on the way in.

Worth knowing before you install: a preview therefore downloads the original file rather than the ~245px thumbnail Strapi generated. That is the point - a thumbnail stretched over the screen is not worth looking at - but on a library of large uploads it is real bandwidth, paid on hover.

Built for Strapi 5, admin only - it adds no routes, content types or server code.

Installation

npm install strapi-plugin-grid-view
# or
yarn add strapi-plugin-grid-view

Installed plugins are enabled by default, so there is nothing to configure. To turn it off without uninstalling, add it to config/plugins.ts:

export default () => ({
  'grid-view': { enabled: false },
});

Styling

Grid view is a class on the document body, so anything else can style against it too:

body.grid-view table[role="grid"] > tbody > tr {
  /* your own card */
}

Adding grid-view-pinned to the body alongside it pins the view: the plugin then leaves the class alone instead of setting it per collection type on every navigation. Useful when the list view is embedded as a picker and should always be a grid, whatever the person browsing normally prefers.

The plugin's own rules are in admin/src/GridView.css. They lay the table rows out as cards and give the first image cell a checkerboard backdrop, in both the light and dark admin themes. The preview rules are in admin/src/ImagePreview.css.

Both stylesheets are inlined into the bundle and injected into <head> at register time, so there is nothing for you to import.

Development

The plugin is built with @strapi/sdk-plugin.

yarn install
yarn build          # emits dist/, which the exports field points at
yarn watch          # rebuild on change
yarn test:ts        # typecheck

To try a change in a real Strapi app, yarn watch:link rebuilds on change and pushes the package through yalc; on the app side, yalc add strapi-plugin-grid-view.

Licence

MIT