This is a Sanity Studio v3 plugin.
npm install @frontvibe/sanity-font-picker
yarn add @frontvibe/sanity-font-picker
pnpm install @frontvibe/sanity-font-picker
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {fontPicker} from '@frontvibe/sanity-font-picker'
export default defineConfig({
//...
plugins: [fontPicker({})],
})
MIT © Le Studio Frontvibe
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.