clean-web-ui v1.0.0
Clean Web UI
Have you ever find in a situation where you or your team needs to use a set of components, but you are blocked because of the framework that is used or introduce additional dependencies to your project?
We often have moneky banana problem with frameworks. You wanted the banana but you get the gorilla with banana and the whole jungle.
Aren't you feel that we are reinventing the wheel over and over again? We have to create the same components over and over again, so they can be compatible with the new framework that just came out. Many times, including UI framework to our project causes breaking changes, or simply you can not migrate to newer version because it requres newer version of the framework and you get stucked.
CleanWebUI is an open collection of small, simple and framework agnostic web components, written in pure Vanilla JavaScript.
The components are not having any other dependencies, which makes them perfect for integrating with any framework.
Quick start
Installing with npm:
npm install clean-web-components
In your main file:
// first import components
import * as cwui 'clean-web-components';
// register components and you are good to go
cwui.init();
Using with plain HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="path-to/clean-web-components.js"></script>
</head>
<body>
<cwui-button>Button</cwui-button>
</body>
</html>
Components
3 years ago