3.0.0 • Published 4 years ago

blackstone-ui v3.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

demo demo docs

Web components for creating interfaces - built with lit-html and lit-element by Blackstone Publishing

preview

Installation

Blackstone-UI is available as an npm package

npm install blackstone-ui --save

Or if you want the latest cutting-edge version

npm install https://github.com/kjantzer/bui.git --save

Overview

Web components (or custom elements) allow us to encapsalate logic, designs, and features in html elements. Along with custom elements, various "presenters" (or views) have been created for all the ways an app needs to display data

Developing

lit-html and lit-element are being used to create and render custom elements. The beauty in these tools is that they are simply syntactic sugar for native web technologies

lit-html - this is a templating tool that replaces a need for something like mustache.js

lit-element - this is a base class for that makes it easier to make custom elements removing a lot of the boilerplate code usually needed.

Demo

Install the parcel bundler

npm install -g parcel-bundler

Then cd to this directory and run:

npm start

Notes

  • consider switching out moment.js for something lighter weight (like day.js)