@feugene/granularity-forms-schema

Forms from a schema: zod or JSON Schema turned into real fields with validation and layout. Take it when the form is data rather than markup.

version
0.4.0
Public subpaths
21
Components
1
Runtime dependencies
0

How the package describes itself on npm: Schema-driven forms for the @feugene/granularity design system — zod and JSON Schema into real form fields, zero dependencies.

Installation

The command installs the package and its required peer dependencies: the library does not bring them, because your application already has them.

npm i @feugene/granularity-forms-schema @feugene/granularity @feugene/unocss-preset-granular vue
pnpm add @feugene/granularity-forms-schema @feugene/granularity @feugene/unocss-preset-granular vue
yarn add @feugene/granularity-forms-schema @feugene/granularity @feugene/unocss-preset-granular vue
bun add @feugene/granularity-forms-schema @feugene/granularity @feugene/unocss-preset-granular vue

Optional peer dependencies

Declared optional: they are needed only by the part of the package that uses them. Your package manager will not remind you about them.

  • @feugene/granularity-chrono
  • @feugene/unplugin-granularity
  • unplugin-vue-components
  • @feugene/fint-i18n
  • zod

What is inside

The manifest declares 21 entry points — importing through them is what keeps the bundle free of what you did not use.

No runtime dependencies: only the code of the package itself reaches your application.

Components

Package documentation

Written in the library repository. The portal links to it rather than retelling it.