@teamnovu/nuxt-statamic-formbuilder

Headless Nuxt form builder with Statamic submit adapter
3,044
Install
npm install @teamnovu/nuxt-statamic-formbuilder
Latest Version:1.4.8
Vue:3
License:MIT
Last Updated:Sep 30, 2026
Links: npm
Maintainer: strebl

@teamnovu/nuxt-statamic-formbuilder

Core Nuxt module: form configuration types, Valibot validation from Statamic rules, field conditions, field registry, Statamic CSRF submit, StatamicFormBuilder, and StatamicFormBuilderFields.

See the monorepo README for install and usage.

Security / validation

Client-side Valibot rules are for UX only. Authoritative validation is Statamic form/field validate on the server. Most PHP fieldtypes currently ship empty rules() — editors must set validation in the form blueprint (or accept weak server checks). Do not treat the Nuxt UI as a trust boundary.

Texts vs i18n

Bundled locales cover field validation messages and toast titles (form.user_feedback.*). Submit / loading / success / error body copy belongs on CMS FormBuilderTexts (see monorepo README).

By default the module publishes en/de/fr via i18n:registerModule. Set statamicFormBuilder.publishI18n: false to disable that and provide those keys in the host app instead.

CSRF preflight

By default, submitStatamicForm GETs /sanctum/csrf-cookie before posting and requires an XSRF-TOKEN cookie. Set statamicFormBuilder.fetchCsrfCookie: false (or pass fetchCsrfCookie: false to useFormBuilder / :fetch-csrf-cookie="false" on StatamicFormBuilder) to skip the preflight. When disabled, submission proceeds without a token; an existing cookie is still sent as X-XSRF-TOKEN when present.

Related Packages

@teamnovu/kit-composables

A collection of composables

5,342 2
@teamnovu/vue-cloudinary-image-statamic

Statamic Adapter for @teamnovu/vue-cloudinary-image and @teamnovu/nuxt-cloudinar...

4,843 0
@teamnovu/kit-components

A collection of vue(3) components for jkweb

3,752 2
@teamnovu/nuxt-image-module

Responsive image module for Nuxt 4 with provider-agnostic focal-point handling a...

1,124

Version History

Version Released License
1.4.8 MIT
1.4.7 MIT
1.4.6 MIT
1.4.5 MIT
1.4.4 MIT