Customize designs with code
Design
To enable your custom code to override Kinde page design, you need to set up and connect a git repo for the design files. You must also be using a custom domain to run your custom code with Kinde.
Your directory structure should follow the following structure.
myApp/ ├── kindeSrc/ │ └── environment/ │ └── pages/ │ └── (kinde)/ │ └── <route>/ │ └── page.tsx ├── package.json └── kinde.json
In the above example, <route>
is used to map your code to a rendered page in Kinde. For example kindeSrc/environment/pages/(kinde)/(register)/page.tsx
will map to the register / sign up page in the authentication flow.