A React library that simplifies the integration of react-hook-form
with Cloudscape Design System
. It provides a set of pre-built, controlled input components that handle validation, allowing you to focus on building complex form logic with minimal effort.
npm install react-hook-form @cloudscape-design/components @cloudscape-design/global-styles react-hook-form-cloudscape
Required dependencies:
- React >= 16.8 || >= 17 || >= 18
- react-dom >= 16.8 || >= 17 || >= 18
- react-hook-form >= 7
- @cloudscape-design/components
import { Form, FormField } from '@cloudscape-design/components';
import { CInput } from 'react-hook-form-cloudscape';
function App {
return (
<Form>
<FormField>
<CInput name="email" ... />
</FormField>
</Form>
);
};
You can create bug reports or feature requests, or start a discussion to ask a question. To minimize duplicates, we recommend that you search for existing bug reports, feature requests, or discussions before initiating a new thread.
This project is licensed under the MIT License.