zfb

Type to search...

to open search from anywhere

Recipes

CreatedJun 1, 2026Takeshi Takatsudo

Self-contained patterns for using zfb. Curated section — one topic per page, copy-pasteable.

A maintainer-curated set of small, focused patterns for composing zfb’s primitives — addVirtualModule, postBuild plugins, ctx.routes, non-HTML pages, MDX components — into concrete solutions you can adapt.

Each recipe is:

  • A single article on a single topic
  • Written as an explanation, not a code dump — the why matters as much as the how
  • Anchored to a specific zfb version range, so you know what state of the engine it assumes

Recipes

  • Enlargeable Images — reproduce the old imageEnlarge built-in in userland using the img component override. Covers the server-side (no JS) and islands variants, plus the no-enlarge opt-out.

Revision History