UI Frame

Generators

CLI tools that scaffold forms from JSON.

Dynamic form generator

Generates a full Zod validation schema and a wired react-hook-form component from JSON metadata.

Define the entity:

{
  "entityName": "Product",
  "fields": [
    { "name": "title", "type": "string", "required": true, "ui": "input" },
    { "name": "price", "type": "number", "ui": "number-input" }
  ]
}

Run the generator:

bun run generate:form --schema=schema.json

The output — a React component and its schema — lands in src/components/forms/.

Generated code is yours to edit. It is a starting point written into your repository, not a runtime abstraction that regenerates over your changes.

Other scripts

CommandDoes
bun run generate:presetsRegenerate theme presets
bun run setup:themeInteractive theme setup
bun run checkBiome lint and format check