© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
A. LibbyDeveloping Web Components with Svelte https://doi.org/10.1007/978-1-4842-9039-2_3

3. Building Action Components

Alex Libby1  
(1)
Belper, Derbyshire, UK
 

Lights, camera, action…

Okay – we’re not about to create the next movie blockbuster! Instead, it’s the turn of the next batch of components we will be building, which all have some form of action (if you pardon the pun).

In the previous chapter, we started by creating some simple components based on standard HTML5 elements, but which we could refine into more complex versions as the library grows more mature over time. Our next batch of components are a little more involved and show a moving part in (most) ...

Get Developing Web Components with Svelte: Building a Library of Reusable UI Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.