Skip to content
vviinn DocsDocs Beta

Product List

The vviinn-results component displays search results on the page. It works in two modes:

Place vviinn-results on the same page as vviinn-text-search or vviinn-vps-button. The components communicate via events (vviinnTextSearchStarted, vviinnImageUploadFinished) and a shared store — no additional configuration needed.

You can also trigger a search directly by setting text-search-query or search-id props on vviinn-results.

When search components (vviinn-text-search, vviinn-vps-button) have results-page-url set, they redirect the user to a dedicated results page with URL parameters:

  • Text search: /results?query=shoes
  • Image search: /results?searchId=abc-123

The vviinn-results component with results-page-url set automatically parses these parameters on page load and triggers the corresponding search.

If text-search-query or search-id props are set explicitly, they take priority over URL parameters.

Results triggered by a text search query via the text-search-query prop.

Results filtered by the product_type column for “Möbel > Schränke & Regale” using the filter-value prop.