Polymer elements is a GitHub organization containing over 100 reusable Polymer components as standalone repositories you can browse and use off-the-shelf. This is because it offers functionality that the otherwise preferred npm package manager is currently lacking. For our new huge long-term enterprise project we have chosen web components and vanilla JS instead of frameworks for UI. set of web platform APIs that allow you to create new custom Save my name, email, and website in this browser for the next time I comment. I wouldn’t necessarily say querySelector is slow, it’s not just as fast as some alternatives. CSS-Tricks is created by Chris and a team of swell people. Previously this has been possible by using a CSS preprocessor like Sass. I have good news and bad news The good news. Thanks to Shadow DOM, it’s very easy to style your Web Components using simple CSS selectors. Styling Web Components with CSS variables Why do you need CSS variables? In this tutorial I want to show you guys how to create neumorphic elements using only CSS and HTML. Quite simply, these are fully-valid HTML elements with custom templates, behaviors and tag names (e.g. Of course, building more sophisticated components like this quickly becomes cumbersome. Template example by Caleb Williams (@calebdwilliams) Web Components will likely work natively in all browsers sometime in 2016. In this article, I’ll discuss why Web Components are a great tool to deliver high-quality user experiences without complicated frameworks or build steps and that don’t run the risk of becoming obsolete. Web components are getting more and more traction. Thanks for the feedback. Web components allow for reusability and the ability to associate JS behaviour with your markup. Then, we’ll follow that up with a discussion of custom elements and shadow DOM. Setting up ChemDoodle Web Componentsfor use on your website is very simple and consists of 3 easy steps: 1. This is primarily driven by the changing landscape of web architecture. Let’s take a quick look at each of those first three. Note that npm might add this feature in the future. For example, If we have a shadow root with a