DEV Community

Cover image for Open-Source NoCode Form builder
haynajjar
haynajjar

Posted on

2

Open-Source NoCode Form builder

A Form builder built with svelte and tailwindcss

Most Form builders offer a powerful way to integrate and manage inputs, but they lack the design customization.

We built this simple form builder that can adapt easily with any website design.

Open Source

More details on how to install and use can be found on Form builder repo

Demo Link

Try it on Fouita Form Website

Cusomization

<script>
  import FormEditor from "@fouita/form-editor"

  // you can create a button to toggle the editable variable
  let editable = true
  let form =  {
      "name": "My Form",
      "version": "18"
    }

  const settings = {
      textColor: "250 250 250";
      bgColor: "0 0 0";
      outlineColor: "165 180 252";
      buttonBgColor: "79 70 229";
      buttonTextColor: "255 255 255";
      borderColor: "200 200 200";
      form: formSimple;
      rounded: "rounded-none";
      size: "full";
      rtl: false;
      transparent: false;
      btnsPosition: "start"; // start, end, center
  }

  // get updated data
  $: if(form) {
    // form is updated
  }

  function handleSubmit(evt) {
    // send data to your server
  }
</script>

<FormEditor bind:form {editable} {...settings} on:submit={handleSubmit} />
Enter fullscreen mode Exit fullscreen mode

Hope you like it,

Any feedback is very appreciated.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay