ory / ory/elements

Add React-only examples

Open
#598 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs Triage
Dominant language
TypeScript
Stars
187
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Preflight checklist
Ory Network Project

No response

Describe your problem

All examples are based on NextJS and uses functions from the @ory/NextJS package, which aren’t available in a pure React environment.

As such, they can only be partially used as reference.

The @ory/elements-react has a readme but no full examples of an implemented app.

Describe your ideal solution

An example that implements a small auth application and show case the use of a few custom elements.

Workarounds or alternatives

NA

Version

Latest

Additional Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the @ory/elements-react README and compare it with the existing NextJS-based examples. Create a small pure React authentication app that demonstrates several custom elements, and consider the work complete when it provides a usable implementation example without relying on @ory/NextJS.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
documentation, frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.