react-hook-form-cloudscape
TypeScript icon, indicating that this package has built-in type declarations

1.7.4 • Public • Published

React-hook-form wrapper for Cloudscape Design System

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.

npmjs Bundle size OpenSSF Scorecard OpenSSF Scorecard GitHub Repo stars

Installation

npm install react-hook-form @cloudscape-design/components react-hook-form-cloudscape

How to use it

import { Form, FormField } from '@cloudscape-design/components';
import { CInput } from 'react-hook-form-cloudscape';

function App {
  return (
      <Form>
        <FormField>
          <CInput name="email" ... />
        </FormField>
      </Form>
  );
};

✨ Demos and usage: https://abudayah.github.io/react-hook-form-cloudscape

Getting help

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.

Articles and guides

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i react-hook-form-cloudscape

Weekly Downloads

270

Version

1.7.4

License

MIT

Unpacked Size

330 kB

Total Files

53

Last publish

Collaborators

  • abudayah