diff --git a/packages/react/src/components/Forms/Input/index.mdx b/packages/react/src/components/Forms/Input/index.mdx
index 63da25a..4a925dd 100644
--- a/packages/react/src/components/Forms/Input/index.mdx
+++ b/packages/react/src/components/Forms/Input/index.mdx
@@ -100,12 +100,20 @@ using the component in a controlled way.
## Ref
-You can use the `ref` props to get a reference to the input element. The ref to the native input is nested inside the `input` attribute.
+You can use the `ref` props to get a reference to the input element.
+## Usage with react-hook-form
+
+You can use this input with [react-hook-form](https://react-hook-form.com/docs)
+
+
+
## Props
You can use all the props of the native html `` element props plus the following.
diff --git a/packages/react/src/components/Forms/Input/index.spec.tsx b/packages/react/src/components/Forms/Input/index.spec.tsx
index f558d4e..b26264c 100644
--- a/packages/react/src/components/Forms/Input/index.spec.tsx
+++ b/packages/react/src/components/Forms/Input/index.spec.tsx
@@ -1,4 +1,4 @@
-import { render, screen } from "@testing-library/react";
+import { render, screen, waitFor } from "@testing-library/react";
import React, { useRef } from "react";
import userEvent from "@testing-library/user-event";
import { expect } from "vitest";
@@ -160,7 +160,7 @@ describe("", () => {
});
expect(input).not.toHaveFocus();
await user.click(screen.getByRole("button", { name: "Focus" }));
- expect(input).toHaveFocus();
+ waitFor(() => expect(input).toHaveFocus());
});
it("works controlled", async () => {
const Wrapper = () => {
diff --git a/packages/react/src/components/Forms/Input/index.stories.tsx b/packages/react/src/components/Forms/Input/index.stories.tsx
index 7a00f45..42924e3 100644
--- a/packages/react/src/components/Forms/Input/index.stories.tsx
+++ b/packages/react/src/components/Forms/Input/index.stories.tsx
@@ -1,7 +1,15 @@
+import { yupResolver } from "@hookform/resolvers/yup";
import { Meta } from "@storybook/react";
+import { useForm } from "react-hook-form";
+import * as Yup from "yup";
import React, { useRef } from "react";
import { Input, InputRefType } from ":/components/Forms/Input/index";
import { Button } from ":/components/Button";
+import {
+ getFieldState,
+ getFieldErrorMessage,
+ onSubmit,
+} from ":/tests/reactHookFormUtils";
export default {
title: "Components/Forms/Input",
@@ -162,11 +170,52 @@ export const WithRef = () => {
return (