1.0.0 • Published 15 days ago

@hatchd/sanity-plugin-form-builder v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
15 days ago

Form Builder - A form builder plugin for Sanity

Allow users to create a forms within Sanity. Currently the fields supported are:

  • Text
  • Textarea
  • Dropdown
  • Email
  • Telephone
  • Hidden
  • Number
  • Date
  • Time
  • Checkbox
  • Checkboxes group
  • Radio buttons
  • Form Group, a group of various inputs

This is a Sanity Studio v3 plugin, the plugin will not work versions 2 and lower.

Installation

// NPM
npm install @hatchd/sanity-plugin-form-builder

// Yarn
yarn add @hatchd/sanity-plugin-form-builder

Usage

Add it as a plugin in sanity.config.ts (or .js):

import {defineConfig} from 'sanity'
import {FormBuilderPlugin} from '@hatchd/sanity-plugin-form-builder'

export default defineConfig({
  //...
  plugins: [FormBuilderPlugin()],
})

License

MIT © Hatchd Team