Ask AI is now on the home page — ask a question and get a sourced answer from the Ory docs. You'll also find it in the bottom-right corner of any page.

Skip to main content

useComponents()

function useComponents(): OryFlowComponents

The useComponents hook provides access to the Ory Flow components provided in the OryComponentProvider.

You can use this hook to access the components defined in the components prop of the OryComponentProvider.

Returns

OryFlowComponents

the current component context value.