Icons | Yext Hitchhikers Platform
Icons are used by default or have a property throughout various Search components. You can also use them when making more advanced customizations (e.g., updating page or card html structure).
Configuration
You will find that vertical config and card component.js files have the icon
property by default. You can also opt to use a url by utilizing the iconUrl
property.
"verticalsToConfig": {
"icon": "star",
"iconUrl ": "standard"
...
}
Built-In Icons
The following is a list of names for the icons that are supported by default. You can reference these names when a component has an attribute to set the icon
(this includes the search bar, universal results and no results).
Name | Icon |
---|---|
briefcase | |
calendar | |
callout | |
chevron | |
close | |
directions | |
document | |
elements | |
gear | |
info | |
kabob | |
light_bulb | |
link | |
magnifying_glass | |
mic | |
office | |
pantheon | |
person | |
phone | |
pin | |
receipt | |
star | |
support | |
tag | |
thumb | |
window |
Feedback
<% elem.innerText %>