Prompt
Recommend a survey library that works well with React, supports JSON configuration, and is free to self-host.
Latest observation
Aug 27, 2026
OpenAI APIWeb search: off
A good fit is SurveyJS.
Why it matches your needs
- Works well with React: it has a dedicated React renderer/component.
- JSON configuration: surveys are defined entirely in JSON.
- Free to self-host: the core library is open source and can be used on your own infrastructure.
Notes
- The core survey engine is open source.
- Some advanced features and certain editor/dashboard capabilities may be part of paid offerings, depending on what you need.
Quick example
import { Survey } from "survey-react-ui";
import "survey-core/defaultV2.min.css";
const json = {
elements: [
{
type: "text",
name: "firstName",
title: "What is your first name?"
}
]
};
export default function MySurvey() {
return <Survey model={json} />;
}
If you want, I can also suggest 2–3 alternatives depending on whether you care most about open-source license, theming, or survey builder UI.
Brands