sanity-plugin-formium
v1.0.1
Published
A Sanity plugin for Formium forms
Downloads
5
Readme
sanity-plugin-formium
Get Formium form IDs as a field in Sanity. You can then pass the ID to the Formium React SDK to render forms on your front-end.
This is a Sanity Studio v3 plugin.
Installation
npm install sanity-plugin-formium
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {formiumSelect} from 'sanity-plugin-formium'
export default defineConfig({
//...
plugins: [formiumSelect({})],
})
You'll need your project ID and an API key from Formium
License
MIT © Chris LaRocque
Develop & test
This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.
See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.