Setting Up the Recipe Widget
The Recipe Kit widget displays your recipe cards on your Shopify store. Recipe Kit offers two widgets: the new Svelte-powered widget (recommended) and the legacy Liquid widget.
We recommend the new widget for all new installations. Existing merchants can upgrade at any time.
Theme App Extension (Online Store 2.0)
Recipe Kit uses Shopify's Theme App Extension system, which works with Online Store 2.0 themes.
Check Theme Compatibility
Your theme must support app blocks. Most themes published after 2021 do. To check:
- Go to Online Store > Themes > Customize
- Try adding an app block to a section
- If you see Recipe Kit listed, you're ready
Adding the New Widget
- Go to Online Store > Themes > Customize
- Navigate to the page where you want to display a recipe (e.g., Blog posts > Default blog post)
- Click Add block in the main content section
- Select Recipe Kit from the app blocks list
- Click Save
Displaying Recipes on Different Pages
- Blog posts: Recipes linked to the article are detected and displayed automatically.
- Any other page (product pages, landing pages, custom pages): Enter the Recipe ID in the block settings. You can find the Recipe ID in the Recipe Kit app.
Adding the Legacy Widget
- Go to Online Store > Themes > Customize
- Select Blog posts > Default blog post from the page dropdown
- Click Add block in the main content section
- Select Recipe Kit (Legacy) from the app blocks list
- Click Save
The legacy widget only works on blog post templates and does not support Recipe ID input.
Manual Installation (Vintage / Legacy Themes)
For themes that don't support app blocks, you can manually add either widget to your theme code.
New Widget (Manual)
The new widget loads from CDN, so manual installation only requires a small Liquid snippet. With manual installation, recipes are auto-detected from article metafields, limiting display to blog post pages.
Step 1: Add the snippet
- Go to Online Store > Themes > Actions > Edit code
- Under Snippets, click Add a new snippet
- Name it
recipekit-svelte.liquid - Paste the following code:
- Copy the contents from: recipekit-svelte.liquid
- Save the file
Step 2: Add the render tag
- Find your blog post template (usually
article.liquidortemplates/article.liquid) - Add the following where you want recipes to appear:
{% render 'recipekit-svelte' %}
OR add the tag in a Custom Liquid block if your theme supports it:
- Save
Legacy Widget (Manual)
- Go to Online Store > Themes > Actions > Edit code
- Under Assets, click Add a new asset — create
recipekit.cssand paste contents from: recipekit.css - Under Snippets, click Add a new snippet — create
recipekit.liquidand paste contents from: recipekit.liquid - In your blog post template, add:
{% render 'recipekit' %} - Save all files
Widget Settings
Block Settings (New Widget)
When you add the new Recipe Kit app block in the theme editor, you can configure:
| Setting | Description |
|---|---|
| Recipe ID | Enter a recipe ID to display a specific recipe. Leave blank on blog posts to auto-detect from the article. |
| Show quantity selector | Display a quantity stepper next to the Add To Cart button for shoppable ingredients. |
| Custom CSS | Add custom CSS to style the recipe card. |
| Custom JS | Add custom JavaScript for advanced customization. |
Block Settings (Legacy Widget)
| Setting | Description |
|---|---|
| Custom CSS | Add custom CSS to style the recipe card. |
| Custom JS | Add custom JavaScript for advanced customization. |
In the Recipe Kit App
Configure default widget behavior across your store:
- Open Recipe Kit
- Go to Settings
- Under Widget Settings:
- Enable Widget — Turn display on/off globally
- Default Recipe Status — Only show recipes with Published status
How It Works
When a customer views a page with the Recipe Kit widget:
- The widget checks for a recipe (via Recipe ID in block settings, or linked article metafields)
- The recipe card renders with your chosen template and settings
- Customers can interact with the recipe — print, share, rate, and add ingredients to cart
Upgrading from the Legacy Widget
App Block Users
- Go to Online Store > Themes > Customize
- Remove the Recipe Kit (Legacy) block
- Add the new Recipe Kit block
- Click Save
Manual Install Users
- Add the
recipekit-svelte.liquidsnippet (see New Widget Manual above) - Replace
{% render 'recipekit' %}with{% render 'recipekit-svelte' %}in your blog post template - The old
recipekit.liquidandrecipekit.cssfiles can be removed after confirming the new widget works
Your recipes, settings, and linked blog posts carry over automatically — no re-configuration needed.
Mobile Display
Recipe cards are fully responsive and automatically adjust for mobile devices. No additional configuration needed.
Verifying Widget Display
After setup:
- Visit a page with a Recipe Kit block or snippet and a linked/specified recipe
- The recipe card should appear
- Try clicking Print, Share, or other recipe actions
- If the card doesn't appear, see Widget Not Showing
What's Next?
- Recipe Card Templates - Choose your card design
- Customizing the Recipe Card - Match your brand
- Linking Blog Posts to Recipes - Display on blog posts
- Linking Products to Recipes - Enable Add to Cart for ingredients
Setting Up the Recipe Widget