All Projects → beforesemicolon → cwco

beforesemicolon / cwco

Licence: MIT License
Powerful and Fast Web Component Library with a Simple API

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to cwco

anywhere-webcomponents
A UI work in progress based on custom elements (web components) for use in anywhere.
Stars: ✭ 17 (-37.04%)
Mutual labels:  components, webcomponents, web-components, custom-elements, components-library
Calcite Components
Web Components for the Calcite Design System. Built with Stencil JS. Currently in Beta!
Stars: ✭ 96 (+255.56%)
Mutual labels:  web-component, components, webcomponents, custom-elements
lego
🚀 Web-components made lightweight & Future-Proof.
Stars: ✭ 69 (+155.56%)
Mutual labels:  webcomponents, web-components, custom-elements, vanilla-js
web-component
Lightweight library providing interface for building web components
Stars: ✭ 37 (+37.04%)
Mutual labels:  web-component, webcomponents, web-components
toggle-icon
toggle-icon is a custom element created with Polymer. It provides an extremely powerful and customizable switch that looks like a paper-icon-button.
Stars: ✭ 21 (-22.22%)
Mutual labels:  webcomponents, web-components, custom-elements
vaadin-text-field
The themable Web Component providing input controls. Part of the Vaadin components.
Stars: ✭ 29 (+7.41%)
Mutual labels:  web-component, webcomponents, custom-elements
Switzerland
🇨🇭Switzerland takes a functional approach to Web Components by applying middleware to your components. Supports Redux, attribute mutations, CSS variables, React-esque setState/state, etc… out-of-the-box, along with Shadow DOM for style encapsulation and Custom Elements for interoperability.
Stars: ✭ 261 (+866.67%)
Mutual labels:  components, webcomponents, custom-elements
Use Custom Element
Custom hook to bridge Custom Elements (Web Components) to React.
Stars: ✭ 77 (+185.19%)
Mutual labels:  web-component, web-components, custom-elements
Vaadin Grid
vaadin-grid is a free, high quality data grid / data table Web Component. Part of the Vaadin components.
Stars: ✭ 383 (+1318.52%)
Mutual labels:  web-component, webcomponents, custom-elements
Vaadin Combo Box
The Web Component for displaying a list of items with filtering. Part of the Vaadin components.
Stars: ✭ 113 (+318.52%)
Mutual labels:  web-component, webcomponents, custom-elements
smart-webcomponents-community
Material & Bootstrap Web Components built with Smart
Stars: ✭ 30 (+11.11%)
Mutual labels:  webcomponents, web-components, custom-elements
Panel
Web Components + Virtual DOM: web standards for powerful UIs
Stars: ✭ 206 (+662.96%)
Mutual labels:  components, webcomponents, web-components
Standalone
Create framework agnostic components that are truly reusable and interoperable with all the benefits of the React ecosystem – using the HTML5 custom elements API to extend HTML's vocabulary.
Stars: ✭ 205 (+659.26%)
Mutual labels:  components, webcomponents, custom-elements
svelte-webcomponents
A ready-to-use project template to build custom elements (web components) with Svelte 3 with support and examples for web components, jest, sass, nested components with props, eslinting, stylelinting, Github actions, propagating custom events from shadow-DOM to real-DOM etc.
Stars: ✭ 22 (-18.52%)
Mutual labels:  web-component, web-components, custom-elements
Weightless
High-quality web components with a small footprint
Stars: ✭ 284 (+951.85%)
Mutual labels:  components, web-components, custom-elements
web-components
A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
Stars: ✭ 322 (+1092.59%)
Mutual labels:  webcomponents, web-components, custom-elements
symbiote.js
Simple, light and very powerful library to create embedded components for any purpose, with a data flow management included.
Stars: ✭ 40 (+48.15%)
Mutual labels:  webcomponents, web-components, custom-elements
Omi
Front End Cross-Frameworks Framework - 前端跨框架跨平台框架
Stars: ✭ 12,153 (+44911.11%)
Mutual labels:  webcomponents, web-components, custom-elements
Ion Phaser
A web component to use Phaser Framework with Angular, React, Vue, etc 🎮
Stars: ✭ 152 (+462.96%)
Mutual labels:  web-component, web-components, custom-elements
modulor-html
Missing template engine for Web Components
Stars: ✭ 36 (+33.33%)
Mutual labels:  webcomponents, web-components, custom-elements

CWCO

CWCO Banner

npm license node version Build Build

Contextfull Web Component Library created to improve native Web Component APIs user experience with:

  • No Build Required (Plug and Play)!
  • Works with other library and frameworks like React, Angular, Vue, Svelte, etc;
  • Truly Reactive Template
  • Powerful built-in Directives(including ability to create your own)
  • Built-in Context Data Handling
  • Event and Data Binding in HTML and CSS
  • Build view directly in HTML file
  • Simple API
  • Fast rendering
  • Lightweight package

Documentation (cwco.io)

Install

This module can be used directly in the browser as well in Node environment. You can even use it along with other web libraries and frameworks like React and Angular.

Browser

<!-- use the latest version -->
<script src="https://unpkg.com/cwco/dist/cwco.min.js"></script>

<!-- use a specific version -->
<script src="https://unpkg.com/[email protected]/dist/cwco.min.js"></script>

<!-- link your app script after -->
<script src="app.js"></script>

NodeJs

npm install cwco

You can then import the constructors class according to what you are building.

const { WebComponent, ContextProviderComponent, Directive } = require('cwco');

Code Editors & IDEs

CWCO is just HTML and if you want syntax highlighting for VSCode you can use the inline-html

VSCode

For syntax highlighting of HTML and CSS in javascript use inline-html or lit-html plugins.

You can import html from cwco which is just a help for VSCode which does nothing special to the HTML string you use it with.

import {html, WebComponent} from "./cwco";

class MyButton extends WebComponent {
  get template() {
    return html`<button><slot></slot></button>`
  }
  
  get stylesheet() {
    return html`<style>button {color: #222}</style>`
  }
}

Jet Brain IDEs

These IDEs have built-in HTML-in-Javascript syntax highlighting which can be useful when developing CWCO web components.

Want to Help?

Learn How

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].