Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clean-web-ui

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clean-web-ui

Collection of small, simple and framework agnostic web components, written in pure Vanilla JavaScript.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Clean Web UI

npm version

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

Keywords

FAQs

Package last updated on 04 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc