diff --git a/src/components/SVGLibraries/IconLibrary/IconCategory.js b/src/components/SVGLibraries/IconLibrary/IconCategory.js
index 273c71e962c..3f759d36888 100644
--- a/src/components/SVGLibraries/IconLibrary/IconCategory.js
+++ b/src/components/SVGLibraries/IconLibrary/IconCategory.js
@@ -13,19 +13,23 @@ import {
const IconCategory = ({ category, icons, columnCount }) => {
const [subCategoryRef, containerIsVisible] = useIntersectionObserver();
+ const hiddenIcons = ['AI'];
+
return (
{category}
- {icons.map((icon, i) => (
-
- ))}
+ {icons
+ .filter((icon) => !hiddenIcons.includes(icon.name))
+ .map((icon, i) => (
+
+ ))}
diff --git a/src/components/SVGLibraries/PictogramLibrary/PictogramCategory.js b/src/components/SVGLibraries/PictogramLibrary/PictogramCategory.js
index 928ef45136c..446db5b2df9 100644
--- a/src/components/SVGLibraries/PictogramLibrary/PictogramCategory.js
+++ b/src/components/SVGLibraries/PictogramLibrary/PictogramCategory.js
@@ -16,23 +16,19 @@ import {
const IconCategory = ({ category, pictograms, columnCount }) => {
const [sectionRef, containerIsVisible] = useIntersectionObserver();
+ const hiddenPictograms = [
+ 'ibm--z',
+ 'ibm--z--partition',
+ 'ibm--z-and-linuxone-multi-frame',
+ 'ibm--z-and-linuxone-single-frame',
+ ];
return (
{category}
{pictograms
- .filter((pictogram) => {
- if (
- pictogram.name === 'ibm--z' ||
- pictogram.name === 'ibm--z--partition' ||
- pictogram.name === 'ibm--z-and-linuxone-multi-frame' ||
- pictogram.name === 'ibm--z-and-linuxone-single-frame'
- ) {
- return false;
- }
- return true;
- })
+ .filter((pictogram) => !hiddenPictograms.includes(pictogram.name))
.map((pictogram, i) => (