While Frigade has a library of production-ready, unstyled Components, our useFlows() hook makes it easy to build headless and use Frigade to handle personalization, targeting, and state management for your experience.
This is especially useful if you want to build a highly custom experience with your UI and/or components. You can find some example of how to build custom Flows in our Custom Components guide.
Example use cases:
Building a custom onboarding progress widget for your sidebar navigation
Building a custom Kanban-style onboarding experience
Building a highly custom onboarding checklist interface
Make sure to call any Frigade hook within the context of <FrigadeProvider />
The useFlows() hook is the main entry point for building a custom Flow. It contains a series of functions
which will give you all data for a Flow, the user’s state in it, and allow you to make updates to the user’s state.