Socket
Socket
Sign inDemoInstall

sanity-plugin-color-picker

Package Overview
Dependencies
312
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sanity-plugin-color-picker

A color picker input with eyedropper for Sanity.io


Version published
Weekly downloads
711
increased by2.16%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Color Picker

Color picker with eyedropper tool input for Sanity that stores a selected color.

Installing

In your Sanity studio folder, run:

sanity install color-picker 

Usage

Use it in your schema types:

// [...]
{
  fields: [
    // [...]
    {
      name: 'color',
      title: 'Color',
      type: 'colorPicker'
    }
  ]
}

Note that the above only works if you import and use the all:part:@sanity/base/schema-type part in your schema.

License

MIT-licensed. See LICENSE.

FAQs

Last updated on 16 Jan 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc