Fieldwork is a Sanity Studio v3 plugin that lets you inspect your Sanity.io schema fields directly within the Studio interface. It helps developers review existing schema structures, identify field reuse opportunities, and model data more effectively. The current stable version is 2.0.0. It is primarily used by Sanity developers for schema visualization and analysis. Compared to alternatives like custom schema inspection tools, Fieldwork integrates seamlessly into the Sanity Studio and requires minimal setup. The plugin ships TypeScript types and has a stable release cadence, focusing on compatibility with Sanity v3 and React 18.
npm install sanity-plugin-fieldworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and register the fieldwork plugin in a Sanity Studio v3 configuration file.
Ensure your Studio runs Sanity v3 and React 18.
Use fieldwork({}) instead of fieldwork().Update package to sanity-plugin-fieldwork@^2.0.0 and migrate to Sanity v3.
Use import { fieldwork } from 'sanity-plugin-fieldwork'.Use const { fieldwork } = require('sanity-plugin-fieldwork').Use import { fieldwork } from 'sanity-plugin-fieldwork'.Use const { fieldwork } = require('sanity-plugin-fieldwork').Run npm install sanity-plugin-fieldwork and verify the import statement.
Use fieldwork({}) in the plugins array.