npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sklinet/strapi-plugin-form-builder

v1.0.15

Published

A **visual form-builder plugin** for **Strapi v5** that lets you design and manage forms straight from the admin panel.

Readme

Strapi 5 Plugin – Form Builder

A visual form-builder plugin for Strapi v5 that lets you design and manage forms straight from the admin panel.

✨ Features

  • Auto-generated Content Type: Forms (collection name: built-forms)
  • Form designer
  • Multilingual UI (English en, Czech cs, Slovak sk, German de, French fr, Spanish es)
  • Fine-grained field-type allow-listing
  • Supports a rich set of input components (text, e-mail, file upload, product pickers, etc.)
  • Conditional fields
  • Configurable layout and field behavior (width, conditional visibility, “use-only” fields)

🚀 Installation

npm i @sklinet/strapi-plugin-form-builder

🔌 Enable the plugin

Create or edit config/plugins.js (or .ts):

module.exports = {
  'form-builder': {
    enabled: true,
  },
};

⚙️ Optional configuration

module.exports = {
  'form-builder': {
    enabled: true,
    config: {
      language: 'en',      // 'en' (default) | 'cs' | 'sk' | 'de' | 'fr' | 'es'
      fields: '*',         // '*' = all field types, OR array of allowed types
      allowConditions: false, // Enables conditional logic between fields
      allowFullWidth: false,  // Allows setting full-width display for fields
      allowUseOnly: false,    // Enables fields that are excluded from form submissions
    },
  },
};

| Option | Type | Purpose | |-------------------|---------------------|-------------------------------------------------------------------------| | language | 'en' | 'cs' | 'sk' | 'de' | 'fr' | 'es' | Sets the plugin’s UI language. | | fields | "*" | string[] | Which field types a user may add. Use "*" for all types. | | allowConditions | boolean | Enables setting visibility conditions between fields. | | allowFullWidth | boolean | Allows toggling between full and half-width layout for form fields. | | allowUseOnly | boolean | Lets you mark fields as “use only” (not stored in submission results). |

📋 Supported field types

'textinput' | 'textarea' | 'email' | 'phone' | 'file'
'select'    | 'checkbox' | 'checkboxGroup'
'productsSelection' | 'amount'
'submit' | 'title' | 'message' | 'divider' | 'special'

🗄️ Data model

| Collection | UID | Notes | |------------|--------------------------|---------------------------------| | Forms | plugin::form-builder.form | Auto-generated; collection name built-forms |

Each saved form instance is stored as a document in built-forms, making it manageable like any other Strapi content type.

🧩 TypeScript Interfaces

If you're using TypeScript, here are the types used by the plugin so you can safely access form data:

export interface IBuiltForm {
    id: number;
    documentId: string;
    title: string;
    data: IFormField[] | null;
    createdAt: string;
    updatedAt: string;
    publishedAt: string;
}

export type IFormField = {
    id: string;
    onFullWidth: boolean;
    conditionsEval?: 'and' | 'or';
    conditions?: ICondition[];
    type:
        | 'textinput'
        | 'textarea'
        | 'email'
        | 'phone'
        | 'file'
        | 'select'
        | 'checkbox'
        | 'checkboxGroup'
        | 'productsSelection'
        | 'amount'
        | 'submit'
        | 'title'
        | 'message'
        | 'divider'
        | 'special';
} & (
    | {
          type: 'textinput';
          name: string | null;
          label: string | null;
          placeholder: string | null;
          required: boolean;
          useOnly: boolean;
      }
    | {
          type: 'textarea';
          name: string | null;
          label: string | null;
          placeholder: string | null;
          required: boolean;
          useOnly: boolean;
      }
    | {
          type: 'email';
          name: string | null;
          label: string | null;
          placeholder: string | null;
          required: boolean;
          useOnly: boolean;
      }
    | {
          type: 'phone';
          name: string | null;
          label: string | null;
          placeholder: string | null;
          required: boolean;
          useOnly: boolean;
      }
    | {
          type: 'file';
          name: string | null;
          label: string | null;
          placeholder: string | null;
          required: boolean;
          maxFileCount: number | null;
          allowedFileTypes: string[] | null;
          maxFileSize: number | null;
          useOnly: boolean;
      }
    | {
          type: 'select';
          name: string | null;
          label: string | null;
          placeholder: string | null;
          required: boolean;
          options: ISelectedOption[];
          multiple: boolean,
          useOnly: boolean;
      }
    | {
          type: 'checkbox';
          name: string | null;
          label: string | null;
          required: boolean;
          useOnly: boolean;
      }
    | {
          type: 'checkboxGroup';
          name: string | null;
          label: string | null;
          options: ISelectedOption[];
          useOnly: boolean;
      }
    | {
          type: 'productsSelection';
          name: string | null;
          label: string | null;
          products: IProduct[];
          useOnly: boolean;
      }
    | {
          type: 'amount';
          name: string | null;
          label: string | null;
          fields: string[];
          useOnly: boolean;
      }
    | {
          type: 'submit';
          label: string | null;
      }
    | {
          type: 'title';
          label: string | null;
          isLarge: boolean;
      }
    | {
          type: 'message';
          label: string | null;
      }
    | {
          type: 'divider';
      }
    | {
          type: 'special';
          codename: string | null;
      }
);

export interface ISelectedOption {
    key: string;
    label: string;
}

export interface IProduct {
    id: string;
    name: string;
    label: string;
    price: number;
}

export type IProductRecord = {
    id: string;
    name: string;
    totalPrice: number;
    amount: number;
};

export type IOperator = 'equals' | 'not-equals' | 'contains' | 'not-contains' | 'empty' | 'not-empty' | 'has-checked';

export interface ICondition {
    id: string;
    fieldId: string;
    operator: IOperator;
    value: string | boolean | ISelectedOption | undefined;
}

🪪 License

MIT

👤 Maintainer

@sklinet