Styling | Yext Hitchhikers Platform

The locations starter repo (github.com/yext/pages-starter-react-locations) uses Tailwind for styling, but you are free to use your preferred CSS frameworks. Pages is highly configurable in terms of styling. We like Tailwind, though, so would recommend you give it a try!

Under the hood, Pages uses Vite for building, and you can learn more about CSS on Vite on their documentation .

In the locations starter repo , you can see the default Tailwind configurations. You can find the tailwind configuration inside of tailwind.config.cjs. Postcss is used to process the tailwind and you can find the configuration in postcss.config.cjs. Be sure to import index.css file into your templates in order to import these styles.

Feedback