Coding Design Systems - ep19 - Using an external Web Component Theme Switch in your design system

Backlight on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

AdvancedDesign Systems47 min

About this video

This live coding episode builds a Web Component theme switch and reuses it in a Nunjucks-based design system styled with design tokens. It is aimed at people building component libraries who want framework-compatible components.

What you’ll learn

  • Build a theme switch as a Web Component
  • Style a Web Component's internal parts with ::part
  • Publish a Web Component as an external package