Minikit
Download current version: 22. apr. 07
Minikit is a collection of visual effects and widgets for javascript/html. Some parts have been collected from other freely available libraries, such as moo.fx and nifty corners. Others are the creation of me, Troels Knak-Nielsen.
Because of this, there isn't a single license covering all of minikit. They are all fairly liberal so you shouldn't have any problems using them in your own projects. Refer to the source code for details.
Minikit works alone, but is transparently compatible with mochikit. What this means is that if you are using the mochikit library, minikit will use it's features, which are superior to the more lightweight variant, which is built-in to minikit.
The reason for this design is that mochikit - while being a fantastic library - is a bit large to include on publicly facing sites. Minikit is quite small in itself, which makes it useful in said applications. On the other hand, your application may reach a size where it makes sense to include mochikit (or perhaps some packages from it), and minikit will then simply take advantage of this.
File structure
Minikit is currently divided into three separate files:
minikit.core.js must always be included and contains the basic library used by the various widgets in minikit. The two others contain different types of effects/widgets.
minikit.fx.js is mostly a port of moo.fx, which is a collection of visual effects. It also contains an extended version of nifty corners.
minikit.widgets.js contains a number widgets to use in form elements. All of theese widgets are unobtrusive in that they extend on a standard input field such as <input type="text" />, so if the user has javascript disabled, the form will still be usable.
Some widgets have further auxilliary dependencies, such as stylesheet and images.
Samples
Some online samples, showing off the widget collection.
Comments