sanity-custom-input

This package creates the boilerplate for basic Sanity Custom Input components.

Usage no npm install needed!

<script type="module">
  import sanityCustomInput from 'https://cdn.skypack.dev/sanity-custom-input';
</script>

README

Experimental CLI for creating boilerplate of Sanity Custom Input Components

This package creates the boilerplate for basic Sanity Custom Input components.

Installation

npm install -g sanity-custom-input

Usage

In your Sanity Studio project, run customInput, the type of boilerplate you want, specify your components directory and the name of your new component.

Experimental

This CLI is highly experimental. It's mostly a code generator, but is not officially supported by Sanity.io.