How to Create Web Components with Stencil

web-components-stencil

If you want to have standardized componetns for your apps or compan CI, relying on a design system with web components is one of the best ways to get started.

In this Quick Win we will dive into Stencil, which is a web component compiler created by the makers of Ionic. In fact, all Ionic components are web components built with Stencil!

stencil-component-example

Along our way we will develop a small counter component which can be used, changed and styled from the outside like you are used to from other components.

In the end we will also integrate this web component directly in an Ionic Angular project!

The full quick win with snippets is only available to Ionic Academy members.
Join now for

  • Unlimited access to all quick wins
  • Library of 40+ step-by-step video courses
  • Support for Ionic questions via Slack & private community

Join now & Unlock

Current member? LOGIN



Leave a Reply

Your email address will not be published.