← All proposals All four kits side by side All animations

Proposal 07G · Noodle component library

227 components,
one line drawing.

Web components for the new castomo website, all drawn from the Noodle continuous-line pack. They cover sliders, tiles, floating cards, product presentation, scroll-driven scenes, sticky layouts, hero sections, contact forms, onboarding screens, site headers and newsletter sign-ups. Every component is a custom element with its own shadow DOM and no dependencies. Each one takes its colours from the brand, so the same markup ships on every ecosystem site.

00

The base: <noodle-art>

Every component draws through this element. It loads a piece lazily, binds its colours to the brand and splits it into layers that outside CSS can move.

<noodle-art>
flat

One layer. Cheapest; for thumbnails and icons.

layers="flat"
split + parallax

Colour under line, moving apart with the pointer.

layers="split" parallax="16"
clusters

Every colour block on its own layer, here pushed out along its own direction.

layers="clusters"
dark section

The line and white fills follow two variables.

--noodle-stroke · --noodle-fill

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="/noodle/components/noodle-bento.js"></script>
<!-- or everything at once -->
<script type="module" src="/noodle/index.js"></script>

Theme

Set three brand slots once and every piece and accent follows. Surfaces, radius and ink come from a few more tokens.

:root {
  --slot-0: #B8331A;  /* brand dark  */
  --slot-1: #DC4425;  /* brand mid   */
  --slot-2: #F58A5E;  /* brand light */
  --noodle-radius: 20px;
  --noodle-surface: #fff;
}

Motion rules

Loops stop off-screen and settle when idle. Reduced motion gets the finished state. Scroll scenes pin with position: sticky and never take over the wheel. Anything that reacts to hover also works on touch.

Use it for
The new castomo website first; then any ecosystem site, recoloured by its brand slots.
Technique
Custom elements with shadow DOM and shared constructable stylesheets. Art is inlined SVG split into registered layers, styled from outside through ::part() and custom properties.
Weight
Each component is a few KB of JS before compression. The 50 pieces total 2.1 MB raw: each page loads only what it shows, lazily, and pieces should be served gzip or brotli.
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.