← All proposals All four kits side by side All animations

Proposal 04B · Ghost component library

227 components,
built in dioramas.

Web components for the new castomo website, built on Ghost’s diorama builder: 32 flat vector characters and objects on authored depth planes with signature pink accents and crisp outlines. Characters can be swapped live without breaking the scene. 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: <ghost-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.

<ghost-art>
diorama parallax

Authored planes shift at different speeds with pointer movement.

parallax
character pop

Characters step in with spring entrance.

pop
brand accent

Clothing and props take brand slots.

brand
dark section

Clean outlines and soft fills invert for dark sections.

--ghost-ink · --ghost-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="/ghost/components/ghost-hero-intro.js"></script>
<!-- or everything at once -->
<script type="module" src="/ghost/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 */
  --ghost-ink: #000;
  --ghost-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
About pages, team bios, diorama room headers, and onboarding.
Technique
Hand-authored diorama planes with cropped bounds, responsive layout, and pointer parallax.
Weight
32 pieces, < 10 KB per SVG, ultra-lightweight and sharp.
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.