GatStats provides a number of form short codes for use in .mdx, see the Storybook links below

  • TextInput
  • TextArea
  • InputAnnounce

If you use the NetlifyForm component you can setup serverless forms using Netlify's built-in form service, and here's the source code including Formik setup and Yup validation used to create the contact form on this page.