This basic example shows how to render all the features in a FlatGeobuf onto a MapLibre map. It shows per-feature properties when you click on each feature. This will work almost exactly the same for Mapbox GL JS, just add an account key and load the Mapbox libraries instead.