Introduction | Yext Hitchhikers Platform
A card component is used to display search results returned Search API. The Search UI React components include the StandardCard
component which is used to quickly display results on the screen. However, the StandardCard
doesn’t offer much in the way of customization.
This guide will cover the following:
- Use the Yext CLI to generate types for your search verticals
- Create a custom
CardComponent
with some simple styling - Pass the card as a prop to the
<VerticalResults />
component to display the search results for one vertical
<% elem.innerText %>