API Reference
/
Vue InstantSearch Widgets
/
ais-powered-by
Sep. 02, 2020
ais-powered-by
Widget signature
<ais-powered-by // Optional parameters theme="string" :class-names="object" />
About this widget
The ais-powered-by
widget is used to display the Algolia logo to redirect to our website.
Algolia requires that you use this widget if you only use your free usage credits, or are on a Community or Free legacy plan.
Examples
Copy
1
<ais-powered-by />
Props
theme
|
type: string ("dark"|"light")
default: light
Optional
The version of the logo to use, legible on light or dark backgrounds. |
||
Copy
|
|||
class-names
|
type: object
default: {}
Optional
The CSS classes to override.
|
||
Copy
|
HTML output
Copy
1
2
3
4
5
6
<div class="ais-PoweredBy">
<span class="ais-PoweredBy-text">Search by</span>
<a href="..." class="ais-PoweredBy-link" aria-label="Algolia">
<!-- <svg> ... </svg> -->
</a>
</div>