Veneer.js enables custom elements. The tag definitions that can be loaded from a single script tag; no build process, executable software, deep folders of dependencies, or publishing headaches required. With veneer, you can develop your site or application using the custom elements, link the veneer script tag, and go home early. If you have existing publishing/build routines, veneer is just a few small js files that you can mix and match as needed.
veneer.js is related to projects like polymer.js and x-tags, but far simpler, somewhat less encompassing, and much smaller ( 5kb-16kb gzipped). Adding a single script file enables about everything you see here, and adding more elements is easy and simple.
MP3 Player
Plays your mp3 collection in the browser.
Contacts App
Declarative HTML contact info manager demo
Veneer Router
Full-featured client-side navigation, ultra-precise state history, active link indication, and more.
Bootstrap Widgets
Use squeaky-clean markup to make responsive bootstrap-based components, instead of the normal "DIV soup".
Live Demos
These simple examples demonstrate common veneer tag usage. Most of the available tags are shown below. Most of them are native, meaning just the full veneer script is all you need. A few more complex tags are imported later, outside of the full veneer file, so they don't weigh down the basic set of widgets. On this page, the externals are "markdown", "qrcode", "syntax", and "firebug", loaded from an import call at the bottom of the page.
Performance
Veneer is much lighter and quicker than alternatives:
tech,HTTP Requests,Total Weight,Xfer Time,Load() time,Ready() time,Load-Ready,Link
veneer,3,11KB,449,464,464,0,test
vanilla,4,51KB,1470,754,705,49,test
xtags,4,61KB,1940,1150,932,218,test
polymer,6,75KB,1230,1160,763,397,test