Ory Elements is a component library that makes building login, registration and account pages for Ory a breeze:
- Reduces time to add complex auth flows to your customer experience, including multi-factor authentication and account recovery.
- Customizable, themeable, and replaceable components.
- Works with the React ecosystem (Next.js, plain React).
- Dynamically adapts the user interface to your Ory identity schema, sign-in and flow configuration.
Ory Elements comes with several packages:
Note
If you've used @ory/elements, @ory/elements-markup or @ory/elements-preact before, we recommend migrating to @ory/elements-react. The legacy code base is in https://github.com/ory/elements-legacy.
npm install @ory/elements-react react react-dom
For more information, see packages/elements-react.
npm install @ory/nextjs
For more information, see packages/nextjs.
Full examples are available in the examples/
directory of this repository.