Web components for the new castomo website, built on Loomies narrative scene depth slicing: 25 complete scenes split into canvas, backdrop, and subject depths. Sliders, tiles, floating cards, product presentation, scroll scenes, sticky layouts, heroes, contact forms, onboarding, site headers and newsletter sign-ups. Every component is a custom element with its own shadow DOM and no dependencies, and takes its colours from the brand.
00
The base: <loomies-art>
Every component draws through this element. It loads a piece lazily, crops it to a square, binds coral and teal to the brand, and tags every accent so it can move on its own.
<loomies-art>
depth slicing
Backdrop hue ends where subject begins, creating three natural depths.
parallax
subject entrance
The narrative character enters with smooth spring motion.
pop
brand harmony
Tonal palettes blend with ecosystem brand ramps.
brand
dark section
Pastel backdrops adapt smoothly to dark themes.
--loomies-ink · --loomies-paper
Using it on a site
Load
Import only the components a page uses. Each one brings in the base element and the shared helpers.
<script type="module" src="/loomies/components/loomies-hero-intro.js"></script>
<!-- or everything at once -->
<script type="module" src="/loomies/index.js"></script>
Theme
The same brand slots as the other kits. Teal takes the dark stop and coral the mid stop; the line work stays ink.
:root {
--slot-0: #B8331A; /* was teal */
--slot-1: #DC4425; /* was coral */
--loomies-ink: #000;
--loomies-paper: #fff;
}
Weight, honestly
The drawings are hand-drawn paths, about 200 KB each (about 60 KB gzipped). Heroes and feature art use them; cards, marquees and trails use lite, a 15 KB WebP of the same piece.
Use it for
Blog headers, section heroes, customer stories, and feature walkthroughs.
Technique
Algorithmic hue-boundary detection splitting complete scenes into canvas, backdrop, and subject planes.
Weight
25 scenes, 14–35 KB per SVG, rich painterly compositions.
Licence
GetIllustrations Free: requires a visible linked credit on every page. Fine for our own sites; not for dash-b or any builder where users pick the art, unless we buy the Extended licence.