automattic / jetpack-forms
Jetpack Forms
Installs: 15 631
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Language:JavaScript
Type:jetpack-library
pkg:composer/automattic/jetpack-forms
Requires
- php: >=7.2
- automattic/jetpack-admin-ui: ^0.5.11
- automattic/jetpack-assets: ^4.3.23
- automattic/jetpack-blocks: ^3.3.0
- automattic/jetpack-connection: ^7.0.3
- automattic/jetpack-device-detection: ^3.4.0
- automattic/jetpack-external-connections: ^0.1.15
- automattic/jetpack-jwt: ^0.2.2
- automattic/jetpack-logo: ^3.0.5
- automattic/jetpack-plans: ^0.11.2
- automattic/jetpack-status: ^6.1.2
- automattic/jetpack-sync: ^4.27.0
Requires (Dev)
- automattic/jetpack-changelogger: ^6.0.13
- automattic/jetpack-connection: ^7.0.3
- automattic/jetpack-test-environment: @dev
- automattic/phpunit-select-config: ^1.0.3
- automattic/wp-feature-api: @dev
- yoast/phpunit-polyfills: ^4.0.0
Suggests
- automattic/jetpack-autoloader: Allow for better interoperability with other plugins that use this package.
- dev-trunk / 7.8.x-dev
- v7.7.0
- v7.6.0
- v7.5.0
- v7.4.0
- v7.3.0
- v7.2.0
- v7.1.0
- v7.0.0
- v6.22.0
- v6.21.2
- v6.21.1
- v6.21.0
- v6.20.0
- v6.19.0
- v6.18.0
- v6.17.0
- v6.16.0
- v6.15.0
- v6.14.0
- v6.13.0
- v6.12.0
- v6.11.0
- v6.10.0
- v6.9.0
- v6.8.0
- v6.7.0
- v6.6.0
- v6.5.1
- v6.5.0
- v6.4.0
- v6.3.0
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.0
- v6.0.0
- v5.5.0
- v5.4.0
- v5.3.0
- v5.2.0
- v5.1.0
- v5.0.0
- v4.0.1
- v4.0.0
- v3.1.0
- v3.0.0
- v2.1.0
- v2.0.1
- v2.0.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.0
- v0.56.0
- v0.55.0
- v0.54.0
- v0.53.0
- v0.52.0
- v0.51.0
- v0.50.0
- v0.49.0
- v0.48.0
- v0.47.0
- v0.46.0
- v0.45.0
- v0.44.0
- v0.43.0
- v0.42.1
- v0.42.0
- v0.41.0
- v0.40.0
- v0.39.0
- v0.38.0
- v0.37.1
- v0.37.0
- v0.36.0
- v0.35.1
- v0.35.0
- v0.34.6
- v0.34.5
- v0.34.4
- v0.34.3
- v0.34.2
- v0.34.1
- v0.34.0
- v0.33.8
- v0.33.7
- v0.33.6
- v0.33.5
- v0.33.4
- v0.33.3
- v0.33.2
- v0.33.1
- v0.33.0
- v0.32.16
- v0.32.15
- v0.32.14
- v0.32.13.1
- v0.32.13
- v0.32.12
- v0.32.11
- v0.32.10
- v0.32.9
- v0.32.8
- v0.32.7
- v0.32.6
- v0.32.5
- v0.32.4
- v0.32.3
- v0.32.2
- v0.32.1
- v0.32.0
- v0.31.4
- v0.31.3
- v0.31.2
- v0.31.1
- v0.31.0
- v0.30.18
- v0.30.17
- v0.30.16
- v0.30.15
- v0.30.14
- v0.30.13
- v0.30.12
- v0.30.11
- v0.30.10
- v0.30.9
- v0.30.8
- v0.30.7
- v0.30.6
- v0.30.5
- v0.30.4
- v0.30.3
- v0.30.2
- v0.30.1
- v0.30.0
- v0.29.2
- v0.29.1
- v0.29.0
- v0.28.0
- v0.27.0
- v0.26.0
- v0.25.0
- v0.24.2
- v0.24.1
- v0.24.0
- v0.23.1
- v0.23.0
- v0.22.6
- v0.22.5
- v0.22.4
- v0.22.3
- v0.22.2
- v0.22.1
- v0.22.0
- v0.21.0
- v0.20.1
- v0.20.0
- v0.19.11
- v0.19.10
- v0.19.9
- v0.19.8
- v0.19.7
- v0.19.6
- v0.19.5
- v0.19.4
- v0.19.3
- v0.19.2
- v0.19.1
- v0.19.0
- v0.18.0
- v0.17.0
- v0.16.0
- v0.15.0
- v0.14.1
- v0.14.0
- v0.13.0
- v0.12.0
- v0.11.0
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.0
- v0.8.0
- v0.7.0
- v0.6.0.2
- v0.6.0.1
- v0.6.0
- v0.5.1
- v0.5.0
- v0.4.0
- v0.3.0
- v0.2.1
- v0.2.0
- v0.1.0
- dev-prerelease
- dev-release-v0.10.2
- dev-release-v0.6.0.2
- dev-release-v0.6.0.1
- dev-release-v0.2.1
This package is auto-updated.
Last update: 2026-02-13 22:18:18 UTC
README
All things forms. This package currently contains the implementation for Jetpack's Contact Form module, Form blocks, and the new Jetpack Forms feedback dashboard.
Hierarchy
.
├── src/
│ ├── blocks/ - Form blocks.
│ ├── contact-form/ - Contact form module implementation.
│ ├── dashboard/ - Implementation for the new forms dashboard.
│ ├── service/ - Helpers for 3rd-party service integrations.
│ ├── class-jetpack-forms.php - Package entrypoint.
│
└── tools/ - Webpack configuration for all bundles in the package.
├── extract-icons.mjs - React → SVG icon extractor (see below).
└── rasterize-icons.mjs - SVG → PNG icon rasterizer (see below).
See the individual subdirectories for more information.
Generating block icons for email templates
Block field icons are defined as React components (src/blocks/field-*/icon.{js,jsx,tsx}) but need to be available as standalone files for email templates. Two scripts handle this:
extract-icons— Renders each React icon component to static SVG markup and writesicon.svgfiles.rasterize-icons— Converts eachicon.svgto a 48x48 retina PNG (field-*@2x.png) with transparent background, optimized for minimal file size.
Run the full pipeline:
pnpm generate-icons
Or run each step individually:
pnpm extract-icons # React components → icon.svg pnpm rasterize-icons # icon.svg → icon@2x.png
Run these after adding or modifying any icon component in a field-* block directory.
Using this package in your WordPress plugin
If you plan on using this package in your WordPress plugin, we would recommend that you use Jetpack Autoloader as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well.
Security
Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.
License
forms is licensed under GNU General Public License v2 (or later)