<pf-v5-icon> An **icon** component is a container that allows for icons of varying dimensions to seamlessly replace each other without shifting surrounding content. Category Media Built with Lit Library PatternFly Elements Author Red Hat Package @patternfly/elements Component size 2.1 kB JS (minified + gzipped, JS includes dependencies beyond the library) Library size 6.3 kB JS (shared by every PatternFly Elements component, loaded once per page) Popular 2 out of 5 Downloads 3,967/week (whole @patternfly/elements package) Latest stable version 5.0.0 Last published May 3, 2026 License MIT Documentation Source code Source code Attributes seticonsizeloading Events loaderror CSS Parts fallback