Loads a form’s live questions, so an owner’s edit shows on the site without a rebuild.
import { useReploForm } from "@replohq/sdk/forms/use-forms";
useReploFormSubmit
Submits a form with the landing page’s campaign tags; spread honeypotProps on a hidden input to discard bots. A quiz’s score and result come back with the submit. A review form’s review.status says whether the review is live: on a site that uses its own domain, where Replo’s bot check can’t run, every review waits for approval unless it came from a review request email.
import { useReploFormSubmit } from "@replohq/sdk/forms/use-forms";
useReploReviews
Published reviews with their totals, for a product page or a reviews page. The totals cover every review of the product, whatever star or photo filter is on, so the bars stay full while a visitor filters.
import { useReploReviews } from "@replohq/sdk/forms/use-forms";
useReploReviewVote
Counts a visitor’s “helpful” (1) or “not helpful” (-1) on a review; voting again changes it. Replo counts one vote per review per network (an IP address, or one IPv6 /64), not per browser: a reload or another browser adds none, and people sharing an address share a vote.
import { useReploReviewVote } from "@replohq/sdk/forms/use-forms";