Component Registry - PropelAuth Component Library - PropelAuth Docs

Component Registry

The PropelAuth Frontend API documentation provides a set of components that can be copied into your project to build your own custom UIs around logging in, signing up, managing organizations, and everything in between.

Our shadcn component registry is an optional way to get these components into your project. You'll still need to install the frontend API library to use this component registry. If you plan on using any of the login and signup APIs, make sure to read through the Login & Signup Guide first.

Installation

The shadcn registry allows you to install individual components into your app. To do so, in your target app:

  1. Follow the shadcn installation instructions to set up shadcn in your app.

  2. Initialize shadcn:

   npx shadcn@latest init

CopyCopied!

  1. Install components. In this example we’ll install the Enable / Disable MFA component.
   npx shadcn@latest add https://components.propelauth.com/r/enable-disable-mfa.json

CopyCopied!

  1. Import and start using your new components!

Install All Components

Optionally, you can install all components within the PropelAuth registry by installing the all-fe-api-components component:

   npx shadcn@latest add https://components.propelauth.com/r/all-fe-api-components.json

CopyCopied!

Full Component List

Account Page Components

Organization Components

Organization Membership Components

API Key Components

Login and Signup Components