Own Your Business Forms
punica-form supplies the headless engine; you architect everything else. Design metadata, renderers, and starters that encode your business rules so every form feels native to your product.
Headless Architecture
punica-form is a headless form engine that provides business logic and state management without any UI components. Design your own form architecture that matches your design system.
AI-Friendly
Metadata-driven structure makes it perfect for AI code generation. AI can easily generate form definitions, validation rules, and form structures from natural language prompts.
Framework Agnostic
Works seamlessly with React, Vue, Angular, or vanilla JavaScript. Your business logic remains intact even when you change UI frameworks.
Metadata-Driven
Declarative form definitions using decorators and metadata. Forms are created from metadata, enabling dynamic form generation and runtime modifications.
Modular Services
Extensible service layer with built-in services (GetValues, SetValue, Validate) and the ability to create custom services for your specific needs.
Custom Decorators
Create your own decorators for UI concerns (@Layout, @FormItemInputText) while punica-form provides business logic decorators (@Title, @Services).
Developer Tools
Chrome DevTools extension for real-time form inspection, event tracking, and debugging. View form data, entity, and registered items instantly.
Dynamic Forms
Build forms dynamically at runtime using metadata. Readers process decorators and create form structures on the fly based on configurations.
Type Safety
Full TypeScript support with generics ensures type safety throughout your form definitions, from entities to form items and services.
Separation of Concerns
Clean separation between business logic (punica-form) and UI logic (your project). Update UI without affecting business logic.
Extensible Design
Easily extend with custom services, readers, starters, and form items. Build your own form architecture that fits your project's needs.