Add text filter to Mapbox GL JS

I’ve been working with MapboxGL JS and I trying to add text filter, like in this link: https://docs.mapbox.com/mapbox-gl-js/example/filter-markers-by-input/ to my map. My geojson file is pretty similar to this example. A sample of my geojson file:

{'type': 'FeatureCollection',  'features': [{'type': 'Feature', 'geometry': {'type': 'Point', 'coordinates': [-66.47395325,
15.92480183]}, 'properties': {'Name': 'ADRIATIC GAS', 'Status': 'In Service'}} ...

I have multiple points with this shape, and I want to create a filter similar to the link above using the “Name” property. My idea is, when someone is typing, the points already going filtering.

Can someone help me? I’ve tried by many ways and nothing worked already.