Recipes

Recipes

Reusable creative instruments that produce validated Pax scenes from parameters.

1 min readUpdated

Recipes encode creative intent as reproducible commands. Each recipe declares inputs, defaults, and the scene it produces.

What you will learn

  • Seven built-in recipes covering typography, loading, interaction, and hero layouts
  • Every recipe compiles to Lottie with reduced-motion variants
  • Runnable in under 10 seconds on a typical laptop
  • Same parameters via CLI and MCP create_scene

Catalog

RecipeOutputsTagsStatus
title-carddom, svg, lottietypography, introproduction
kinetic-headlinedom, svg, lottietypography, kineticproduction
loadingdom, svg, lottieloading, loopproduction
favorite-buttondom, lottie, dotlottieinteractive, dotlottieproduction
saas-herodom, svg, three, r3fwebgl, herobeta
acid-herodom, svg, lottiehero, acid, kineticproduction
prism-loaderdom, svg, lottieloading, acid, loopproduction

Full-loop recipe (title-card)

  1. List and inspect

    paxfx recipes list
    paxfx recipes inspect title-card
  2. Run

    paxfx recipes run title-card

    Writes .pax/scenes/title-card.scene.json and a compiled preview sibling.

  3. Validate and preview

    paxfx lottie validate .pax/scenes/title-card.scene.json
    paxfx preview .pax/scenes/title-card.preview.html
  4. Gate before ship

    paxfx critic

Expected result

Validation passes, preview animates (or settles under reduced motion), and critic writes .pax/reports/check.json with deterministic checks.

Pillar-specific recipes

PillarTry this
Designpaxfx create lottie acid-hero then paxfx design match
Motionpaxfx motion plan after locking direction
Lottiepaxfx recipes run favorite-button for dotLottie output
Filmpaxfx demo render launch-hero --format mp4

Commands

pnpm paxfx recipes list
pnpm paxfx recipes inspect title-card
pnpm paxfx recipes run title-card
pnpm paxfx create lottie acid-hero

Was this page helpful?

Answers are not recorded or transmitted. Pax has no telemetry.