Skip to main content

Registration

The Registration component renders a form for learners to register for your site and gain access to the learner dashboard.

✨ View Component in Storybook

Installation

npm init helium-app@latest

Props

NameRequiredTypeDescription
redirectUrlNoStringThe URL to redirect the new learner once they sign up (e.g. /learn/dashboard)
currentUserNoCurrentUserThe Current User for registration and redemption functionality

Example Code

import { Registration } from '@thoughtindustries/user';

export function MyComponent() {
return <Registration redirectUrl='/learn/dashboard' />;
}