Best practices

To ensure the best possible experience for your form designers and end-users, we recommend the following best practices:

  • If creating a plugin with multiple form controls, export each control into a separate JavaScript file for faster loading times.
  • Use minified JavaScript.
  • Avoid building plugins using JQuery. Form plugins uses the Shadow DOM, which JQuery does not support.
  • See youmightnotneedjquery.com for help on migrating existing functionality away from JQuery.

  • Your plugin element name must contain a hyphen - and must not start with ntx-, nwc-, nac-, or nintex-. These prefixes are reserved to prevent conflicts with Nintex elements. For best practice, use your organization's name as a prefix. For example, acme-custom-textfield.

Note:  Plugins using different versions of React may cause unexpected behavior when they are loaded together in a form. For a React-like framework that offers .jsx and hooks, see Atomico.

Standards and accessibility

Follow established best practices for creating accessible web components. We recommend your plugins meet the following checklist, at minimum:

Test your plugin using tools such as Lighthouse or the Dom Accessibility Inspector.

For more resources on web standards and accessibility, see:

CSS variables

Use the Nintex forms CSS variables to ensure your plugins blend seamlessly with Nintex forms. See Style plugins with CSS.

Plugin icons

The plugin icon is displayed in several sizes (28px, 48px, and 55px) in the Form designer. To keep your icons clear and easy to understand:

  • Use SVG format.
  • Use a square icon with a non-transparent background.
  • Create a simple design that is readable at 28px, 48px, and 55px.
  • Avoid drop-shadows, three-dimensional affects, or similar decorative elements.