The useFlow(<flowId>)
hook makes it easy to build headless components or manipulate the state of a Flow for an existing component.
It exports a single field, flow
, which contains the current state of the Flow, as well as a set of methods to manipulate the Flow.
View the Flow class docs to see the available fields and methods.
The useFlow
hook 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.
<Frigade.Provider />
The useFlow(<flowId>)
hook makes it easy to build headless components or manipulate the state of a Flow for an existing component.
It exports a single field, flow
, which contains the current state of the Flow, as well as a set of methods to manipulate the Flow.
View the Flow class docs to see the available fields and methods.
The useFlow
hook 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.
<Frigade.Provider />