Light-Weight, High-Performance & Easily Customizable
LittleCub is a light-weight, high-performance, easily customizable forms engine for Node.js and browser. It comes with comprehensive form control library and support for various responsive and mobile UI frameworks and can be easily customized or extended for additional framework support or custom controls.
Based on JSON schema V4, LittleCub presents JSON data as entry or edit forms according to its data schema. It can also take form control related settings in another JSON document to further enhance form usability. With built-in validation and reuse of repeatable components, LittleCub can significantly simplify form design and development and make them less error prone.
Developed as a JavaScript library, LittleCub can be easily plugged into any JavaScript MVC framework such as Backbone.js, Ember.js etc. or as part of any HTML5 application.
To get started with LittleCub forms, check out its Getting Started guide, API docs, control library documentation or theme related examples.
This core library of LittleCub is ~8 K (minified and gziped). It only requires Underscore for utility functions and Handlebar for templating.
LittleCub provides both native API and jQuery API for rendering forms but jQuery is NOT needed for running LittleCub.
The general approach of building forms with LittleCub is through configuration such as defining nested data structure using JSON schema or specifying form control parameters in a configuration JSON document. LittleCub can even generate a nice form simply based on the JSON data you supply.
LittleCub is shipped with a full set of controls that would satisfy most of your need to build forms. It also provides a straightforward way of building new controls through an object-oriented framework.
LittleCub supports most popular responsive and mobile UI frameworks such as
Adding support for another UI framework can be as simple as adding a new theme with a set of Handlebar based templates and a few line of JavaScript code to register it with LittleCub. You can also extend existing themes with your customization by adding or modifying a few templates.