ComponentsFormsForm flow
Form flow
Typeform-style one-question-at-a-time forms with keyboard answers, conditional jumps, plus a visual builder with live preview.
lucide-react1 filedepends on: button, input, kbd, switch
Loading documentation…
import { FormBuilder, FormFlow, newQuestion, nextIndex, questionTypes, validateAnswer } from "@/components/ui/form-flow"
The exports above are the public API. Each component forwards className and is sized with the --density token, so it follows the appearance settings automatically. Read the source in the Code tab of the preview or in src/components/ui/form-flow.tsx for the full prop types.
Packages: lucide-react.
Entropy UI components: button, input, kbd, switch (installed automatically by the CLI).
Two minutes. It helps us decide what to build next.