---
id: useModalForm
title: useModalForm
example-tags: [form, antd]
---

With the `useModalForm` hook, you can manage a form inside of your modal component. It returns [Ant Design Form](https://ant.design/components/form/) and [Modal](https://ant.design/components/modal/) props. You may examine the code below to learn how to create and manage forms within a modal.

[Refer to the Refine useModalForm hook documentation for more information. →](/docs/ui-integrations/ant-design/hooks/use-modal-form)

<CodeSandboxExample path="form-antd-use-modal-form" />
