Phosphor Icons
Version 2.0.0
September 8, 2026
Breaking change to the GraphQL API. A
phosphorIconfield now resolves to an object rather than a string, so existing queries selecting it as a scalar will stop validating. See below.
Added
- GraphQL now reports the chosen weight, which it never has (#2). The field
resolves to an object with
name,weightandsvg. svgreturns the rendered icon markup, so a front end can draw the icon without bundling the Phosphor library or making a second request. It is read only when queried, so selecting justnamecosts nothing extra.
Changed
Breaking. A
phosphorIconfield used to resolve to a plain string holding the icon name. Queries must now select the fields they want:phosphorIcon { name weight svg }An empty field resolves to
null.
Version 1.0.3
September 8, 2026
Added
- A plugin icon, so Craft shows the plugin's own mark in the control panel and the Plugin Store rather than the default placeholder.
- This changelog, wired to
extra.changelogUrlso the control panel updater shows release notes when an update is available.
Fixed
- The support, issues and documentation URLs named
wuhhh/phosphor-icons, the repository's name before it was renamed tocraft-phosphor-icons. GitHub redirected them, so they resolved, and would have broken if anyone claimed the old name.
Version 1.0.2
July 6, 2026
Fixed
- The icon picker now matches the styling of Craft's other non-Selectize selects.
Version 1.0.1
July 3, 2026
Fixed
LICENSE.txtnow contains the MIT licence, matching theMITdeclared incomposer.json. 1.0.0 shipped a commercial licence text by mistake.
Version 1.0.0
July 3, 2026
Added
- Phosphor Icons field for Craft 5, replicating the first-party
iconfield as closely as possible. - All six Phosphor weights — thin, light, regular, bold, fill and duotone — with the available set configurable per field.
- The full icon library ships with the plugin, so no external stylesheet or front-end dependency is needed.
craft.phosphorIcons.icon(name, weight)for rendering an icon in Twig.- GraphQL support, returning the icon name. This matches the native field's Basic mode; the selected weight is not yet exposed.