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

OryFlowComponentOverrides

type OryFlowComponentOverrides = {
[P in keyof OryFlowComponents]?: OryFlowComponents[P] extends object
? { [K in keyof OryFlowComponents[P]]?: OryFlowComponents[P][K] }
: OryFlowComponents[P]
}

Makes the components in OryFlowComponents optional, so that you can override only the components you want to change.