:wave: Hi everyone, just a quick question: Is <Ele...
# talk-kratos
d
👋 Hi everyone, just a quick question: Is Elements replacing Ory Kratos NextJS Reference Implementation or how do they compare? (We use a self hosted kratos instance)
p
Hi @damp-smartphone-35878 Ory Elements is a component library. It helps with building login / registration / verification / recovery forms based on your Kratos flow data. It does not replace the logic of fetching data / caching / session checking etc which the NextJs example does. We made the decision to keep Ory Elements only focused on the UI instead of the logic of API fetching and state handling.
d
Thank you @proud-plumber-24205. I think I get that, but that means it could replace the components in the UI folder of the example integration? E.g. https://github.com/ory/kratos-selfservice-ui-react-nextjs/blob/master/pkg/ui/NodeInput.tsx
h
Yes! :)
d
Thanks Aeneas 👍