Web components for the new castomo website, built on Doodle’s hand-drawn sketches: 25 illustrations in wobbly ink line with lime and cyan accents that boil 8 times a second like hand-made animation. 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: <doodle-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.
<doodle-art>
boiling sketch
Wobbly lines redraw 8 times a second like hand-made animation.
boil
accent pop
Lime and cyan colour accents spring in on arrival.
pop
brand slots
Accents map to brand slots with natural tone.
brand
dark section
Lines invert cleanly on dark backgrounds.
--doodle-ink · --doodle-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="/doodle/components/doodle-hero-intro.js"></script>
<!-- or everything at once -->
<script type="module" src="/doodle/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 */
--doodle-ink: #000;
--doodle-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
404 pages, empty states, friendly editorial flows, and onboarding.
Technique
SVG turbulence displacement filter with stepped seed animation and drifting colour accent layers.
Weight
25 pieces, 63–97 KB per SVG, lightweight hand-drawn vector art.
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.