Attribute
data-searchMarks the search root. Everything for this search UI lives inside this wrapper.
Build search UI in the Webflow Designer with custom attributes — the same pattern as Finsweet Attributes. Prefer the Talaash Designer Extension (Insert search layout) to place elements and attributes via Designer APIs. The search script is installed from Talaash Setup via the Custom Code API (no footer paste, no Embed HTML paste).
search.js through Webflow Custom Code (with integrity). Site credentials are applied on that script.You do not paste a full HTML snippet into an Embed for required setup. Credentials come from the Custom Code install; layout is inserted by the Designer Extension (or manual attributes).
Add these custom attributes in the Designer (Element settings → Custom attributes).
Attribute
data-searchMarks the search root. Everything for this search UI lives inside this wrapper.
Attribute
data-search-inputThe field visitors type into. Place it inside the wrapper.
Attribute
data-search-resultsContainer where ranked results are injected.
Attribute
data-search-resultTemplate for one result. Keep it inside a hidden source block (see below).
Inside the element with data-search-result, add children for the fields you want filled:
data-search-result-titledata-search-result-snippetdata-search-result-typedata-search-result-imagedata-search-result-source and hide it with a class using display: none (the Designer Extension does this automatically). Do not use Designer Visibility Hidden — that strips the template from published HTML. Keep data-search-results as the empty list container. Talaash clones the template for each hit.Optional attributes for answers, empty states, and filters.
data-search-result-sourcePut on a Div that wraps your result card template. Hide with display:none (not Designer Visibility Hidden) so the template stays in published HTML.
data-search-answerOptional Text/Div for the AI answer grounded in hits.
data-search-loadingShown while a full search runs (Enter / submit).
data-search-emptyShown when a search returns no results.
data-search-filterOptional filter controls. Value = content type slug (e.g. blog).
data-search-modeOn the wrapper: submit (default) or live (suggest while typing; Enter still runs full search).
data-search-analyticsSet to "off" on the wrapper (or script) to skip anonymous visitor/session ids. Queries may still be logged.
data-search-suggestSet to "off" to disable autocomplete (typed text will not be sent to /suggest).
data-searchdata-search-inputdata-search-results (results mount)display: none → data-search-result-source containing a Link/Div with data-search-result and title/snippet/type/image children