Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Web Components Foundations

This is a beginner-friendly course that will teach you how to make framework-agnostic web components.

Beginner
1h 13m
(1)

Created by Duncan Hunter

Last Updated Aug 11, 2025

Course Thumbnail
  • Course

Web Components Foundations

This is a beginner-friendly course that will teach you how to make framework-agnostic web components.

Beginner
1h 13m
(1)

Created by Duncan Hunter

Last Updated Aug 11, 2025

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

Too many teams waste time rebuilding UI widgets and keeping styles in sync for every framework at their company. In this course, Web Components Foundations, you'll learn how to make framework-agnostic web components. First, you’ll explore how to make and register a custom element and understand its life cycle methods. Next, you’ll discover shadow DOM for encapsulation and using slots to compose consumer HTML. Then, you'll dive into styling shadow DOM with CSS variables and parts. Finally, you’ll learn to leverage the ElementInternals API to add states and make your custom elements form-associated. When you finish this course, you’ll have the skills and knowledge of web components needed to build reusable framework-agnostic web components to build anything from a single shareable custom button to whole design systems.

Web Components Foundations
Beginner
1h 13m
(1)
Table of contents

About the author
Duncan Hunter - Pluralsight course - Web Components Foundations
Duncan Hunter
10 courses 4.7 author rating 992 ratings

Duncan Hunter loves working in awesome teams to make awesome software.

2025 Forrester Wave™ names Pluralsight as a Leader among tech skills dev platforms

See how our offering and strategy stack up.

forrester wave report