shadcn-schema
JSON →Provides reusable TypeScript types and runtime schema definitions for the Shadcn registry, currently at version 0.5.0. This package defines the structure of shadcn registry entries using Zod schemas, enabling validation and type-safe handling of registry items. It is updated irregularly alongside shadcn's evolving registry specification. Key differentiators: it is the official schema library for shadcn's new v2 registry format, offering both Zod validation and first-class TypeScript support. Alternative approaches require manual type definitions or ad-hoc validation.
Resources
packageshadcn-schema ↗