Gathering detailed insights and metrics for sanity-plugin-note-field
Gathering detailed insights and metrics for sanity-plugin-note-field
Gathering detailed insights and metrics for sanity-plugin-note-field
Gathering detailed insights and metrics for sanity-plugin-note-field
npm install sanity-plugin-note-field
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (82.74%)
JavaScript (17.26%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
46 Stars
21 Commits
6 Forks
2 Watchers
2 Branches
3 Contributors
Updated on Jul 07, 2025
Latest Version
2.0.2
Package Id
sanity-plugin-note-field@2.0.2
Unpacked Size
24.40 kB
Size
6.68 kB
File Count
17
NPM Version
8.11.0
Node Version
16.15.1
Published on
Feb 28, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
21
Display inline notes within your schemas
✨ uses Sanity UI ✨ multiple styles ✨ dark mode compatible ✨
1yarn add sanity-plugin-note-field 2# or npm 3npm i sanity-plugin-note-field
Warning
This is a Sanity Studio V3 plugin. For the V2 version, please refer to the studio-v2 branch.
1// `sanity.config.ts` / `sanity.config.js`: 2import { defineConfig } from 'sanity' 3import { noteField } from 'sanity-plugin-note-field' 4 5export default defineConfig({ 6 // ... 7 plugins: [ 8 // ... 9 noteField(), 10 ], 11})
1defineField({ 2 title: 'Important!', 3 description: 'a custom Message...', 4 name: 'myCustomNote', 5 type: 'note', 6 options: { 7 icon: () => <Warning size={20} weight="duotone" />, 8 tone: 'caution', 9 }, 10})
Name | Type | Description |
---|---|---|
type | string | (Required) Value must be set to note . |
name | string | (Required) The field name. This will be the key in the data record. |
title | string | (Optional) Short title, appears in bold above the optional description. |
description | string / React.Component | (Optional) Long form message, displayed under the title. |
Name | Type | Description |
---|---|---|
icon | React.Component | (Optional) Display an icon alongside your note's title/message. Just remember that any schema file with icons in them should have a .jsx or .tsx extension. |
tone | string | (Optional) The color of the note. Accepts any of the Sanity UI Card tone values. Defaults to primary . |
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.
nickdimatteo.com · Github @ndimatteo · Instagram @ndimatteo
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 2/19 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More