# How to create Custom Elements with Web Components

> Episode of [GoRails Screencasts](https://podistic.com/podcast/gorails-screencasts.md) · Published June 14, 2021 · Duration 15:53

- **Listen on Podistic:** https://podistic.com/episode/how-to-create-custom-elements-with-web-components
- **Video:** https://gorails.com/episodes/rails-web-components/download (video/mp4)

## About this episode

Web Components are a great way to encapsulate Javascript logic around an element in your HTML. We'll explore how to create Custom Elements and see how Hotwire uses them for Turbo Stream actions.
