WordPress Custom Block Category and Block Collection: Group Plugin Block ...
Group your blocks in their own inserter category A plugin with many blocks should not scatter them over “Text”, “Media” and “Design”. Its own category in the inserter keeps them together and makes them easy to find. WordPress 5.8 renamed the filter for it to block_categories_all; the old block_categories still works but is deprecated.