🎤 Builder Talk: The Story Behind Lady Gaga’s Digital Experience – Register now

Table

By Mathis Bullinger

Basic table support

Sanity Table Plugin

There is an official Sanity table plugin for Sanity Studio v3. If you're using Studio v3, please consider using the official plugin instead.

Forked form rdunk/sanity-plugin-table.

example

Install

Install using the Sanity CLI.

$ npm i sanity-plugin-another-table

Usage

Simply specify table as a field type in your schema.

export default {
  name: 'product',
  title: 'Product',
  type: 'document',
  fields: [
    {
      name: 'sizeChart',
      title: 'Size Chart',
      type: 'table',
    },
  ],
};

Install command

npm i @sanity/table

v2 install command (deprecated)

yarn add sanity-plugin-another-table@studio-v2

Contributor