Examples
Job application form
Built with the mantine-form skill
Tell us about yourself
Take a few minutes to apply. You can review your answers before submitting.
Build a job application form with four steps and a stepper at the top: Personal, Experience, Availability, Review.
Personal:
- first name, last name (both required)
- email (required, valid email)
- phone (optional)
- LinkedIn URL (optional, must be a valid URL when filled)
Experience:
- current title (required)
- years of experience (number, 0–50)
- a list of previous positions with company, title, start year and end year — at least one position, end year not before start year. Add/remove positions.
Availability:
- earliest start date (date picker, today or later)
- expected salary (number, optional)
- remote/hybrid/on-site radio (required)
- a textarea for notes with a 500 character limit and a counter
Review:
- read-only summary of all values grouped by step with an "Edit" link per group that jumps to that step
- submit button only on this step
Behavior:
- Next validates only the current step and focuses the first invalid field
- Back never loses data
- steps already completed are clickable in the stepper
- on submit show a success notification and reset the form
Write tests for the component.