Brick is a collection of UI components designed for the easy and quick building of web application UIs. Brick components are built using the Web Components standard to allow developers to describe the UI of their app using the HTML syntax they already know.
Brick can be installed using the Bower package manager:
bower install mozbrick/brick
To use Brick in your project, place the following in the <head>
of your main HTML:
<script src="bower_components/brick/dist/platform/platform.js"></script>
<link rel="import" href="bower_components/brick/dist/brick.html">
If you are already using Polymer, platform.js or a web browser that supports Web Components, you do not need the above <script>
tag.
Brick (and its components) are developed using tools built in JavaScript running on node.js.
The individual components are developed in their own GitHub repositories.
The mozbrick/brick
repository contains the distributions of all the components packaged together as well as tools for building the distributions.
To work on Brick, you will need the following node tools:
npm install -g bower gulp
Once you have the prerequisites, you're ready to clone and build from source.
Run the following:
git clone [email protected]:mozbrick/brick.git
cd brick
npm install
bower install
gulp build
If you'd like to work on all the Brick components at once, try this handy script:
#!/bin/bash
repos=(
brick
brick-action
brick-appbar
brick-button
brick-calendar
brick-common
brick-deck
brick-dialog
brick-flipbox
brick-form
brick-input
brick-layout
brick-listview
brick-menu
brick-storage-indexeddb
brick-tabbar
)
for repo in "${repos[@]}"
do
git clone https://github.com/mozbrick/$repo.git;
done
Here is a list of the components currently in the primary distribution of Brick:
- brick-action
- brick-appbar
- brick-button
- brick-calendar
- brick-deck
- brick-dialog
- brick-flipbox
- brick-form
- brick-input
- brick-layout
- brick-listview
- brick-menu
- brick-storage-indexeddb
- brick-tabbar
If you encounter issues with a component, please file issues against the individual component repositories.
brick's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.