{% extends 'base.html' %} {% block style %} {% endblock %} {% block content %}
Brick is a bundle of re-usable UI components for quickly and flexibly building HTML5 apps. Brick adds new HTML tags- widgets that allow developers to express the structure of an application in a clearer, more concise manner.
Web Components is a new W3C standard allowing developers to define new HTML tags and supply the code and styles that power them.
<x-flipbox>
<div>I'm the front face.</div>
<div>And I'm the back face.</div>
</x-flipbox>
// assume that toggleButton and flipBox are already
// defined as their respective DOM elements
toggleButton.addEventListener("click", function(){
flipBox.toggle();
});
Brick is currently in Beta. You may run into issues using the components, but it likely isn't your fault! Please let us know!
File an Issue »