All Projects → tiagoboeing → anywhere-webcomponents

tiagoboeing / anywhere-webcomponents

Licence: MIT License
A UI work in progress based on custom elements (web components) for use in anywhere.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
SCSS
7915 projects
CSS
56736 projects
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to anywhere-webcomponents

cwco
Powerful and Fast Web Component Library with a Simple API
Stars: ✭ 27 (+58.82%)
Mutual labels:  components, webcomponents, web-components, custom-elements, components-library
Stencil
A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
Stars: ✭ 9,880 (+58017.65%)
Mutual labels:  webcomponents, stencil, custom-elements, stenciljs
web-photo-filter
A Web Component to apply Instagram-like WebGL filters to photos
Stars: ✭ 105 (+517.65%)
Mutual labels:  webcomponents, stencil, stenciljs
symbiote.js
Simple, light and very powerful library to create embedded components for any purpose, with a data flow management included.
Stars: ✭ 40 (+135.29%)
Mutual labels:  webcomponents, web-components, custom-elements
custom-elements-manifest
Custom Elements Manifest is a file format that describes custom elements in your project.
Stars: ✭ 81 (+376.47%)
Mutual labels:  webcomponents, web-components, custom-elements
domy
Custom Elements Storage
Stars: ✭ 77 (+352.94%)
Mutual labels:  webcomponents, stencil, custom-elements
gatsby-remark-highlight-code
Adds stylish cards and syntax highlighting to code blocks in markdown files
Stars: ✭ 63 (+270.59%)
Mutual labels:  webcomponents, stencil, stenciljs
modulor-html
Missing template engine for Web Components
Stars: ✭ 36 (+111.76%)
Mutual labels:  webcomponents, web-components, custom-elements
Calcite Components
Web Components for the Calcite Design System. Built with Stencil JS. Currently in Beta!
Stars: ✭ 96 (+464.71%)
Mutual labels:  components, webcomponents, custom-elements
design-system
The Baloise Design System consists of reusable components and a clearly defined visual style, that can be assembled together to build any number of applications.
Stars: ✭ 40 (+135.29%)
Mutual labels:  components, web-components, stenciljs
lit-components
Moved to https://github.com/vaadin/component-mixins
Stars: ✭ 59 (+247.06%)
Mutual labels:  webcomponents, web-components, custom-elements
ionic-custom-components
🌈 Ionic Tutorial: Mastering Web Components in Ionic Framework. This repo is an Ionic project showcasing Angular custom components and Stencil custom web components.
Stars: ✭ 30 (+76.47%)
Mutual labels:  stencil, web-components, stenciljs
web-components
A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
Stars: ✭ 322 (+1794.12%)
Mutual labels:  webcomponents, web-components, custom-elements
Panel
Web Components + Virtual DOM: web standards for powerful UIs
Stars: ✭ 206 (+1111.76%)
Mutual labels:  components, webcomponents, web-components
smart-webcomponents-community
Material & Bootstrap Web Components built with Smart
Stars: ✭ 30 (+76.47%)
Mutual labels:  webcomponents, web-components, custom-elements
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 (+1105.88%)
Mutual labels:  components, webcomponents, custom-elements
solar-components
Web Components Implementation of Solar Design System
Stars: ✭ 16 (-5.88%)
Mutual labels:  webcomponents, stencil, stenciljs
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 (+1435.29%)
Mutual labels:  components, webcomponents, custom-elements
Weightless
High-quality web components with a small footprint
Stars: ✭ 284 (+1570.59%)
Mutual labels:  components, web-components, custom-elements
lego
🚀 Web-components made lightweight & Future-Proof.
Stars: ✭ 69 (+305.88%)
Mutual labels:  webcomponents, web-components, custom-elements

Anywhere web components

Built With Stencil All Contributors

Demo here | Roadmap

This project is a work in progress. See projects page to track all status.

The design system and specifications still are open but should be inspired in Nebular, Bootstrap and TailWind.

Give feedback

Write a comment about Design System, give your feedback!

Browser Support

Chrome New Edge (Chromium) Safari Firefox Older Edge IE
60+ 79+ 10.1+ 63+ 16-18 (polyfills) >= 11 (polyfills)

See complete docs

How to install

NPM

Install dependency:

npm i @tiagoboeing/anywhere-webcomponents

And import anywhere-webcomponents.js:

<script src="@tiagoboeing/anywhere-webcomponents/dist/anywhere-webcomponents/anywhere-webcomponents.js"></script>

For use in frameworks, see the Stencil page.

Via CDN (release candidate)

Now you can test components in a HTML page importing via script from CDN.

Stable

<script src="https://cdn.tiagoboeing.com/anywhere-webcomponents/master/anywhere-webcomponents/anywhere-webcomponents.js"></script>
<aw-button label="Primary" mode="square" color="outline" status="success"></aw-button>

Release candidate (develop branch)

(ATTENTION!! Not use for production!)

<script src="https://cdn.tiagoboeing.com/anywhere-webcomponents/develop/anywhere-webcomponents/anywhere-webcomponents.js"></script>
<aw-button label="Primary" mode="square" color="outline" status="success"></aw-button>

Other alternative is use UNPKG, for this, overwrite with the following URL: https://unpkg.com/@tiagoboeing/anywhere-webcomponents@latest/dist/anywhere-webcomponents/anywhere-webcomponents.js

Angular applications

npm i @tiagoboeing/anywhere-webcomponents

In your app.module.ts declare CUSTOM_ELEMENTS_SCHEMA:

import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule
  ],
  providers: [],
  bootstrap: [AppComponent],
  schemas: [CUSTOM_ELEMENTS_SCHEMA]   // <-- declare this
})
export class AppModule { }

And in main.ts end of file, add following imports:

import { applyPolyfills, defineCustomElements } from '@tiagoboeing/anywhere-webcomponents/loader';

defineCustomElements();

// for IE support (optional)
applyPolyfills().then(() => {
  defineCustomElements()
})

React applications

yarn add @tiagoboeing/anywhere-webcomponents

In your src/index.js or src/index.tsx (typescript project) file, add following imports preferably before of the React Render:

import { applyPolyfills, defineCustomElements } from '@tiagoboeing/anywhere-webcomponents/loader';

defineCustomElements();

// for IE support (optional)
applyPolyfills().then(() => {
  defineCustomElements()
})

Components status

See projects page to track all status.

I want to contribute

View contribution guide.

Contributors

Thanks goes to these wonderful people (emoji key):


Tiago Boeing

💻 📆 🤔 🎨

lucas souza matos

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

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].