You have a beautiful design system that delivers consistent, on-brand user experiences! Now, how do your designers and engineers provide your design to teams using any framework from React, to Vue, to Angular, and more?

The Material Design team shares how Web Components are a great choice to empower design systems at Google scale.

Design once. Build once. Use everywhere.

Resources:
Lion Web Components → https://goo.gle/363MUey
Prefers-color-scheme → https://goo.gle/2UXBp1F
Spectrum Web Components → https://goo.gle/3pZXomU
Quack→ https://goo.gle/quack
Github material-components-web-components → https://goo.gle/mwc

Speakers: Liz Mitchell, Rody Davis

Watch all Chrome Developer Summit sessions here → https://goo.gle/cds20-sessions
Subscribe to Google Chrome Developers here → https://goo.gle/ChromeDevs

#chromedevsummit #chrome #webdesign

event: Chrome Dev Summit 2020; re_ty: Publish; product: Chrome – General; fullname: Rody Davis;

source

21 Comments

  1. This is an awesome video, thanks for making it!!! I will add, seeing demos, not in Prettier is maybe the most nails on chalkboard thing I see nowadays. I also still feel like this is pre the removal of the boilerplate. There's so much extra in the files. Thanks for making, still hard to see a need to rewrite or relearn yet, if we were greenfield this might be a great choice for us!

  2. There is still a problem: its too verbose. Ignoring the component file size, it still has 16 methods, for a single and simple component. In large scale this will generate a giant bundle and be Hard to maintain. An Framework /lib May reduce this using HOC, decorators etc (like React did) but still

  3. Great but too much of these Chrome videos are using props and framework processes examples. The frameworks have their own training, wish Chrome would stick to browser and vanilla.

  4. I appreciate the effort, but let's face it. Shadow DOM is overcomplicated. It was sold by Polymer as being faster, but in the end it was 20% slower. It was sold as CSS containment, but now we have CSS properties for layout containment, and they are faster. It was sold as style containment, but it was so hard to style globally that Chrome Team invented a function to style it globally, breaking the initial paradigm. TLDR ; In general just use custom HTML element names and Javascript modules FTW. Use Custom Elements whenever needed, and never use Shadow DOM unless you want to finish bald.

Leave A Reply

Please enter your comment!
Please enter your name here