-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Want a component that allows users to input contact information. This issue is only the UI component, so the send button should not actually make the contact request.
However, you can still create a handle function and perform some validation in the frontend to check the input fields:
- Required fields should be non-empty
- Email should contain an '@' character
- Full name should have at least one space
You can come up with other checks too.
Can check out my PR from last year for a similar contact request feature.
Note that there are also UIs for valid and invalid requests:
Valid request:

For Invalid requests, check out the user flow on Figma. Note that the "I'm interested in becoming..." selection is optional.
For this PR:
- Show the component appearing according to the Figma
- Show that a valid request displays the approved UI and that an invalid request displays the error message