Dave Rupert just posted about a web component he made called WobblyBox - post here.
Partially from influence from Dave, I’ve been trying to use to Web Components more in my websites, but I’ve had mixed results, largely due to loading issues that feel like user error somehow on my side, probably me misunderstanding something in the lifecycle. Most of my experience so far is with Shoelace, where I’ve ended up slowly pulling Shoelace out after the prototype phase of projects.
So to expand my horizons I’m going to try out Dave’s Wobbly Box!
Here we go:
<script type="module" src="/misc/wobbly-box.js"></script>
to this file.<wobbly-box>Any content goes here</wobbly-box>
^ The full code supporting that is this (copied from Dave’s post):
<script type="module" src="/misc/wobbly-box.js"></script>
<wobbly-box> Any content goes here </wobbly-box>