Implementation
Key features
- Loading states - Shows spinner while MoonKey initializes
- Error handling - Clear error messages for common issues
- Email validation - Disables button when email is empty
- Code formatting - Automatically strips non-numeric characters
- Keyboard support - Press Enter to submit forms
- State management - Tracks flow state (sending, logging-in)
- User feedback - Shows appropriate messages at each step