Skip to the stack
Paramaguru

Menu

Colours for this site

Home

2D template · Food & Drink · E-commerce & Retail

How Popsy is built

Plant-based gummies with 2 g of sugar.

A playful candy shop with real physics. Gummies tumble into the hero to be grabbed and thrown, and a jar builder fills with whatever flavours you drop in.

The stack

What each part does here.

I built the interactive parts of Popsy with Preact. These are the technologies on the page, and the job each one does.

Framework

Preact

Islands for the jar controls, live mix, price, cart badge and toast; @preact/signals share the jar's contents with Matter.js.

  1. Vector & physics

    Matter.js

    Simulates every gummy: the hero pile you grab and throw with a MouseConstraint, Shake the bag, and the jar's glass walls.

  2. Vector & physics

    Canvas 2D

    Paints the glossy gummies from cached sprites with fixed-light highlights and soft shadows, plus the glass jar and its pour.

Built on the same base as every template

  • AstroBuilds every page to static HTML and loads each island's framework only where it is used.
  • TypeScriptTypes the content, the components and every script, so mistakes surface at build time.
  • Tailwind CSS 4Utility classes and design tokens, scoped to each template's own folder.

What each technology adds in general is under how my 2D templates differ.

Typography

The fonts it's set in.

I chose one open-licence family for Popsy and host it with the site, so the text never waits on a font service.

  • Headings and text

    Fredoka

    Friendly · Display

    Popsy

    Your paragraphs, set in Fredoka as on Popsy: how your visitors read every page.

    In the font library: Fredoka

See Popsy in other fonts before you choose yours.

Try other fonts on Popsy

Colours

The colours it's painted in.

I painted Popsy in eight colours on a light background, each with a single job: the same eight jobs every palette in my colour library fills.

  • Background#FFF6EC
  • Surface#FFFFFF
  • Text#2B2D42
  • Muted text#55576E
  • Accent#FF4D6D
  • On accent#FFFFFF
  • Second accent#FFB703
  • Lines#2B2D42
Scheme
Light
Previews in
Light palettes

See Popsy in other colours before you choose yours.

Try other colours on Popsy

Signature effects

What you'll see.

Motion style: Physics & play, Illustrated, Micro-interactions.

  1. 01Throwable gummy pile
  2. 02Build-your-jar physics
  3. 03Jelly-wobble cards
  4. 04Shake the bag

Start a project

Start with Popsy.

Tell me about your business, and I'll shape Popsy around it: your words, your pictures and the way you want visitors to reach you.