Back to Integrations

React Form Integration

Don't waste time building form state, validation, and layout from scratch. Embed a Riven form in React using a standard component.

How to integrate Riven with React

1. Copy your form URL

Publish your Riven form and grab the embed URL.

2. Add the component to your React tree

Paste the iframe component directly into your React codebase.

Implementation Code

React Snippet
export default function ContactSection() {
  return (
    <div className="contact-wrapper">
      <iframe
        src="https://rivenforms.in/form/YOUR_FORM_ID?embed=true"
        width="100%"
        height="460"
        loading="lazy"
        style={{ border: 0, borderRadius: "16px", width: "100%", minHeight: "460px" }}
      />
    </div>
  );
}

Ready to build your form?

Go to Dashboard