Embed Demo

See the <recipe-price> web component in action. It automatically detects recipes from JSON-LD structured data.

Choose a Recipe

Spaghetti Carbonara

Classic Spaghetti Carbonara

A traditional Italian pasta dish with eggs, cheese, pancetta, and pepper.

Italian
Pasta
30 min
Serves 4
Ingredients
  • 400gSpaghetti
  • 200gPancetta, diced
  • 4Large eggs
  • 100gPecorino romano
  • 50gParmesan
  • 2Garlic cloves
  • 2 tbspOlive oil

Component Variations

Default (Floating Badge)

Look at the bottom-right corner of this page! The default component appears as a floating badge. Click it to expand and see the full ingredient breakdown.

Minimal Theme (Inline)

A compact pill that fits inline with your content:

Recipe cost:

Headless Mode (Custom UI)

Use events to build your own UI:

Total Cost
Loading...
For 4 servings
Per Serving
-
Cost per person

Integration Code

Add recipe pricing to your website in minutes

Quick Start

<!-- Add the embed script -->
<script src="https://api.recipeprice.com/embed.js"
        data-api-key="rp_live_your_key"></script>

<!-- Add the component -->
<recipe-price></recipe-price>

The component auto-detects recipes from JSON-LD structured data on the page.

Ready to add pricing to your recipe site?

Get started with our API to embed recipe pricing on your website.