Facets in the same container

Hello, could someone help me.
I’m using InstatSearch.js
I have a filters bar as “ul” list and I need to put all filters (facets) there as “li”, can I somehow use some of the refinement widget with list of attributes or something else, because now I didn’t find a solution how can I put list of facets to the same container.
Thank you very much.