Filter symbols by icon name by typing in a text input. See the example: https://docs.mapbox.com/mapbox-gl-js/example/filter-markers-by-input/
No-Library (pure JS), HTML, CSS, JavaScript
Use mapbox-gl-compare to swipe between and synchronize two maps. See the example: https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-compare/