@unsanity/spreadsheet

Registry (shadcn)

UI chrome lives in packages/registry/src and ships as shadcn registry JSON from this site under /r/*.json.

Install blueprint

npx shadcn@latest add https://spreadsheet.ui.unsanity.ai

Uses NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL on Vercel (e.g. https://spreadsheet.ui.unsanity.ai). The site root serves index.json to the shadcn CLI via a rewrite on /.

The blueprint (index) pulls menubar, formula bar, grid-area, and theme via registryDependencies (full URLs to this registry; plain names like button still resolve from ui.shadcn.com). Install shadcn primitives first (menubar, dialog, context-menu, button, input).

Naming

  • spreadsheet-formula-bar
  • spreadsheet-menubar-*-menu
  • spreadsheet-sheet-bar-*
  • spreadsheet-context-menu-*
  • spreadsheet-resize-dialog (shared)

Browse entries

Registry index lists all JSON files and install URLs.