@mdwrk/icons
v1.0.3
Published
Shared icon identifiers and icon metadata for MdWrk applications and packages.
Downloads
232
Maintainers
Readme
@mdwrk/icons
Workspace icon catalog
This package provides stable icon identifiers and metadata for MdWrk applications and packages.
Why
Use it when you want icon references to stay semantic and package-safe instead of scattering raw icon names through the codebase.
What
- A curated workspace icon id list.
- Icon metadata that maps semantic ids to Lucide names and categories.
- Shared icon definitions for apps, extensions, and docs-friendly catalogs.
Installation
Node.js 20.x through 22.x, matching the workspace engine contract in the root package manifest.
npm install @mdwrk/iconsUsage
import { WORKSPACE_ICON_CATALOG, getWorkspaceIconDefinition } from "@mdwrk/icons";
const icon = getWorkspaceIconDefinition("workspace.file");
console.log(icon?.lucideName, WORKSPACE_ICON_CATALOG.length);Related
- Packages index - family and package navigation
- Root README - repo overview
