Function: RegisterForm()
RegisterForm():
any
A form component for user registration
Returns
any
Description
This component provides a registration form interface for new users to create an account. It includes fields for username, email, password, and optional personal information.
Features:
- Username validation with allowed character rules
- Email validation
- Password strength checking
- Optional first and last name fields
- Form validation with error messages
- Loading states during registration
- Navigation to login
- Terms of service and privacy policy links
- Accessible form controls with ARIA labels
- Responsive design with mobile-friendly inputs
- Two-section layout: Account and Personal Information
Example
<RegisterForm />