Type-safe seed data for Payload with typed document references and inline uploads
Icons
Icon library for Payload: SVG upload collection with cleanup and an inline icon component
Installation
pnpm add @pro-laico/payload-icons About
Payload Icons keeps a library of SVG icons in a Payload collection. Each uploaded SVG is cleaned up on save: it is optimized, sanitized, and its viewBox is tightened so the icon sits snugly in its box. Icons can be recolored through the current text color, so they follow the surrounding styles.
In the front end, an icon component fetches an icon by name and inlines its SVG markup into the page, which avoids extra image requests and keeps the icon styling under your control. An admin panel view shows where each icon is used across the site, so you can tell whether an icon is safe to remove.
Rendering icons needs a Next.js app, since the component relies on Next.js features. The upload collection and admin tools work in any Payload app.
Package info
- Package name
@pro-laico/payload-icons- Latest version
0.8.5- Unpacked size
- 280 kB
- License
- MIT
- Weekly downloads
- 11
- Last publish
- Aug 14, 2026
More from pro-laico
View profileNext.js cache revalidation that clears only the tags a Payload change touches
Uploads videos from Payload straight to Mux with signed or public playback
On-demand image resizing, focal crops and placeholders for Payload uploads
Manages custom font files in Payload and serves them as subsetted WOFF2
Adds a floating dev toolbar and in-app developer pages to Payload projects
Similar plugins
More in MediaLive aspect ratio previews with crop and focal point editing for image uploads
Search Unsplash, Pexels and Pixabay stock images and videos from upload collections
Lets editors crop uploaded images in a modal and generates resized variants per preset
Curated YouTube creator watchlist with per-channel rules, a review queue and click-to-play embeds
Grid gallery with lightbox and bulk upload for a Payload upload collection
Read-only previews of uploaded documents in the admin, including Office files and PDFs