# Form ## Examples ### Default ```html Submit ``` ### DefaultForm ```html
Submit Reset
``` ### CustomInputs ```html
Submit Reset
``` ### FormWithReadonlySelect ```html
Submit
Form submission data will appear here
``` ## Usage **Use the Form component to:** - Collect and validate user input – Ensure users can input, edit, and submit structured data, such as employee records, payroll details, or performance review feedback. - Group related input fields – Provide a logical grouping of inputs for better readability and user experience. - Handle form state and validation efficiently – Manage required fields, validation messages, and error handling without unnecessary complexity. **Do not use the Form component to:** - Replace simple input interactions – If a single input field suffices (e.g., a search bar), using a full form component may be unnecessary. - Create a layout structure – Forms should be used for data collection, not as a general layout or section wrapper. - Submit data automatically on input change – Forms are typically used for explicit user submissions, not automatic updates without user confirmation. - Implement non-interactive elements – Avoid using a form for static content like informational text or dashboards. ## Other Considerations **Form Labels & Accessibility** - Ensure all form inputs have properly associated