# Formity > Formity is a React library for building multi-step forms as programmable flows that can branch, loop, jump, and track variables across steps. It is fully type-safe and compatible with React Hook Form, Formik, TanStack Form, and any other form library. Every page listed below is available as markdown by adding `.md` to its URL. The full documentation is also available as a single file at [/llms-full.txt](/llms-full.txt). ## Getting started - [Introduction](/docs/getting-started/introduction.md): Define your entire multi-step form as a single, programmable flow. - [Tutorial](/docs/getting-started/tutorial.md): Follow this tutorial to grasp the core concepts of Formity and how it has to be used. - [Building with AI](/docs/getting-started/building-with-ai.md): Learn how to give the Formity documentation to AI tools so they can help you build your forms. ## Basic concepts - [useFormity](/docs/basic-concepts/use-formity.md): Everything you need to know about the useFormity hook. - [Formity](/docs/basic-concepts/formity.md): Everything you need to know about the Formity component. - [Flow](/docs/basic-concepts/flow.md): Learn what the flow is about and how it can be used to define the forms. - [Inputs](/docs/basic-concepts/inputs.md): Learn how to pass values to be used inside the flow. - [Params](/docs/basic-concepts/params.md): Learn how to pass values that can be used when rendering each form. - [History](/docs/basic-concepts/history.md): Learn how the history prop controls back navigation in the form. - [State](/docs/basic-concepts/state.md): Learn what the state is about and how it can be used. ## Flow elements - [Form](/docs/flow-elements/form.md): Learn how the form element defines a step, its default values, and how it is rendered. - [Return](/docs/flow-elements/return.md): Learn how the return element ends the flow and passes its values to the `onReturn` callback. - [Variables](/docs/flow-elements/variables.md): Learn how the variables element adds values to the flow values. - [Condition](/docs/flow-elements/condition.md): Learn how the condition element branches the flow based on a condition. - [Switch](/docs/flow-elements/switch.md): Learn how the switch element branches the flow into multiple cases. - [Jump](/docs/flow-elements/jump.md): Learn how the jump element defines a form that can be jumped to from anywhere in the flow. - [Loop](/docs/flow-elements/loop.md): Learn how the loop element repeats elements of the flow while a condition is true. - [Yield](/docs/flow-elements/yield.md): Learn how the yield element passes values to the `onYield` callback. - [Module](/docs/flow-elements/module.md): Learn how the module element includes a nested flow that can be defined outside the main flow. ## Guides - [Animating forms](/docs/guides/animating-forms.md): Learn how to add animations to a multi-step form using Motion. - [Conditional fields](/docs/guides/conditional-fields.md): Learn how to add fields that appear when a condition is met. - [Review step](/docs/guides/review-step.md): Learn how to add a review step that lets users edit any previous answer before submitting. - [State outside the form](/docs/guides/state-outside-the-form.md): Learn how to keep the form values outside the form to show a live summary. - [Sidebar navigation](/docs/guides/sidebar-navigation.md): Learn how to add a sidebar that lets users jump back to any previously completed step. - [Repeating steps](/docs/guides/repeating-steps.md): Learn how to repeat steps in a multi-step form. - [Using modules](/docs/guides/using-modules.md): Learn how to include external modules in the flow. ## Use with form libraries - [React Hook Form](/docs/use-with-form-libraries/react-hook-form.md): Learn how to integrate Formity with React Hook Form with an example implementation. - [Formik](/docs/use-with-form-libraries/formik.md): Learn how to integrate Formity with Formik with an example implementation. - [TanStack Form](/docs/use-with-form-libraries/tanstack-form.md): Learn how to integrate Formity with TanStack Form with an example implementation. ## Previous versions - [GitHub repository](/docs/previous-versions/github-repository.md): Information about where to find the documentation for the previous versions. ## Blog - [Best React Typeform Alternative for Developers](/blog/articles/best-react-typeform-alternative-for-developers.md) - [React Form with Conditional Fields: A Step-by-Step Tutorial](/blog/articles/react-form-with-conditional-fields-a-step-by-step-tutorial.md) - [React Multi-Step Form with Conditional Logic: The Right Way](/blog/articles/react-multi-step-form-with-conditional-logic-the-right-way.md) - [Multi-Step Form with React Hook Form: A Complete Guide](/blog/articles/multi-step-form-with-react-hook-form-a-complete-guide.md) - [Formity / Expry: The Best Way to Store Forms in Databases](/blog/articles/formity-expry-the-best-way-to-store-forms-in-databases.md) - [Formity: The Ultimate Tool For Multi-Step Forms In React](/blog/articles/formity-ultimate-tool-multi-step-forms-react.md)