← All proposals All four kits side by side All animations

Proposal 05H · Hipster component library

227 components,
all about people.

Web components for the new castomo website, drawn from the Hipster pack of hand-drawn people. They cover the places a site needs a human face: testimonials, teams, support, bookings, community and social proof, as sliders, tiles, floating cards, product blocks, 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. The drawings can be toned to the brand, so a mixed cast still reads as one family.

00

The base: <hipster-art>

Every component draws through this element. It loads a scene or a face lazily and can gradient-map it to the brand: ink, brand dark, brand light, paper.

<hipster-art>
original

Full colour, as drawn. 1000 px WebP, about 55 KB.

piece="coding"
tone

Mapped to the brand on a canvas; switch brands above and it re-tones.

tone
tone → colour

Hover or focus fades the toned layer away. On touch it rests half-way.

--hipster-tone: 1 → 0
avatar

192 px face crops for stacks, marquees and bylines, about 9 KB each.

avatar="braids"

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

Theme

The same brand slots as the other libraries. The tone reads the dark and light stops; the tokens shared with Noodle set surfaces, radius and ink.

:root {
  --slot-0: #3B18C9;  /* tone: dark  */
  --slot-2: #B98CFF;  /* tone: light */
  --noodle-radius: 20px;
}
hipster-art { --hipster-tone: 1; }

Why raster

Each drawing is around 190 textured paths and up to 150 KB as SVG. Slicing it tears the hatching, and fifty of them would weigh a page down. As WebP they are a third of the size and decode off the main thread.

Use it for
The new castomo website first; then any ecosystem site, toned by its brand slots. Hipster is the human layer: people, teams, support and community.
Technique
Custom elements with shadow DOM and shared constructable stylesheets. Art is lazy WebP; the brand tone is a per-pixel gradient map on a canvas, computed once at display size and cross-faded with --hipster-tone.
Weight
Each component is a few KB of JS before compression. Scenes are about 55 KB, faces about 9 KB; a page loads only what it shows, lazily.
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.