How add custom additinal facet in search ui in frontend

I'm trying to create a new facet but I don't know how to create a new facet. I create a component and assign it to view but I want to add an additional filter in that facet so how can I add an additional filter in facet


facetview is a component where i can get filter value

Facets are configured in engine.json for the downloaded Search UI. You can see an example configuration in the Search UI README file.

Once all the fields that needs to be used as facets are configured, the facet component can be added to the UI as per the snippet:

<Facet key={field} field={field} label={field} />

Please see Facets Guide for additional information on Facets.