• Stars
    star
    366
  • Rank 116,547 (Top 3 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Home of the web components community

webcomponents.org

A new version of webcomponents.org

The currently deployed version is on the old-site branch.

See DESIGN.md for more information.

Packages

This monorepo contains several npm packages:

  • @webcomponents/catalog-server: A data-only backend that indexes npm packages and provides a GraphQL API into the database
  • @webcomponents/catalog-api: GraphQL schemas and TypeScript interfaces for the registry API.
  • @webcomponents/custom-elements-manifest-tools: Tools for working with Custom Element Manifests
  • @webcomponents/internal-site-content: An HTML client served by the frontend server
  • @webcomponents/internal-site-client: JavaScript for the site
  • @webcomponents/internal-site-server: A frontend server that serves the user-facing webcompoents.org site

Quick Start

  1. Install dependencies:

    npm ci
  2. Run tests:

    npm test
  3. Start everything in development mode and watch for changes:

    npm start --watch
  4. Visit http://localhost:6451/bootstrap-packages to bootstrap the database with a default set of elements.

  5. Visit http://localhost:5450/catalog and search for "button" to see example elements.

Docker

Using Docker locally gives you the most realistic simulation of a production environment:

npm run start:docker

Ports

We use the following port scheme for consistency and to prevent collisions:

More Repositories

1

webcomponentsjs

A suite of polyfills supporting the HTML Web Components specs
HTML
3,874
star
2

custom-elements-everywhere

Custom Element + Framework Interoperability Tests.
JavaScript
1,169
star
3

polyfills

Web Components Polyfills
HTML
1,137
star
4

gold-standard

1,029
star
5

webcomponents.github.io

WebComponents.org is where community-members document Web Components best practices
JavaScript
734
star
6

custom-elements

A polyfill for HTML Custom Elements v1
HTML
455
star
7

polymer-boilerplate

Fork this repo if you want to start your own Web Component using Polymer
HTML
369
star
8

custom-elements-manifest

A file format for describing custom elements
TypeScript
365
star
9

react-integration

Converts web components into React components so that you can use them as first class citizens in your React components.
JavaScript
306
star
10

element-boilerplate

Fork this repo if you want to start your own Web Component using VanillaJS
HTML
271
star
11

shadycss

HTML
197
star
12

shadydom

ShadowDOM v1 shim
HTML
162
star
13

hello-world-element

Web Component example using VanillaJS
HTML
151
star
14

chrome-webcomponents-extension

Google Chrome extension to identify all Custom Elements used on a site
JavaScript
81
star
15

html-imports

HTML Imports polyfill
HTML
73
star
16

angular-interop

A demo of interoperability between Polymer and AngularJS
TypeScript
72
star
17

template

Minimal polyfill for <template>
HTML
69
star
18

hello-world-polymer

Web Component example using Polymer
HTML
58
star
19

xtag-boilerplate

Fork this repo if you want to start your own Web Component using X-Tag
HTML
52
star
20

sass-interop

A demo of interoperability between Sass and Polymer
CSS
46
star
21

slush-element

Slush generator to create Custom Elements using Polymer, X-Tag or VanillaJS
JavaScript
41
star
22

webcomponents-icons

Collection of high resolution Web Components icons for presentations, blog posts or whatever
CSS
40
star
23

template-shadowroot

TypeScript
38
star
24

community

A space for the webcomponents community
JavaScript
26
star
25

hello-world-xtag

Web Component example using X-Tag
HTML
24
star
26

webcomponents-platform

Very minimal platform related polyfills
JavaScript
23
star
27

less-interop

A demo of interoperability between Less and Polymer
CSS
20
star
28

webcomponents-lite

Web Components Polyfills minus Shadow DOM
JavaScript
16
star
29

wc-catalog

11
star
30

custom-elements-manifest-tools

Tools for working with custom elements manifests
TypeScript
7
star
31

apply-shim

Shim for CSS @apply mixins
JavaScript
5
star
32

.allstar

1
star