Mozilla Brick – Free UI Components Library for Web Apps

April 02, 2018 0 Comments

Mozilla Brick – Free UI Components Library for Web Apps

 

 

You can find tons of free frontend web frameworks if you search hard enough. They all come with their upsides and drawbacks, but there’s a framework out there for everyone.

Mozilla Brick is a newer framework and it’s built as a UI library that runs on Web Components.

These components work like bits of reusable code similar to Google’s Polymer library. However, with Mozilla Brick, you have your own library of components, along with UI elements, all wrapped up in one big package.

If you dive into this library you’ll quickly realize it’s built differently than others.

Mozilla uses its own language to describe custom elements like bricks which act as components bundled together. If you append many bricks onto your page you can manage them using a package management tool like Bower.

mozilla brick homepage

Note that Mozilla Brick can work on top of Polymer so it’s a versatile framework. In essence, you’d use Brick to define specific page elements or specific user actions on the page.

Then you connect these components into your typical UI elements right inside the HTML. This way you’re still using standards compliant naming conventions on top of Brick components.

It’s currently in version 2.0 and you can find a whole list of repos on GitHub. Mozilla created a GitHub account specifically for this project so it’s the best place to find info.

It has everything from calendar UIs to tab bars, custom card layouts, and even the main Brick website code. All released for free with the source fully accessible.

mozilla brick example deck

Each project includes a live demo hosted on GitHub so if you dig into the documentation you’ll find links for all of these.

You should have some level of comfort with web components before getting into Brick. It’s not super newbie-friendly and it’s really aimed at frontend developers who want pre-designed components for their webapps.

Yet even beginners can learn the ropes by practicing with Brick on their own. You may struggle to understand the whole library but the more you practice the more you’ll learn and the easier it’ll be to craft robust component-powered webapps.


Tag cloud