Skip to main content

Interactive recipes

Run practical Nuxt Tour patterns and copy complete examples.

Explore production tour patterns

Use these recipes when the first tour is working and you need a production pattern. The lab below runs the real library. It does not simulate the overlay or card.

Learn by running the real thing

Select a pattern, start its tour, and inspect the code that powers it.

Actual Nuxt Tour runtime

recipe-preview.vue

Habitat restoration dashboard preview
Wetland restoration68% complete · 3 active areas
View the recipe code
import ProjectOverview from '~/components/tours/ProjectOverview.vue'

export default defineTour({
  id: 'onboarding',
  steps: [{
    id: 'overview',
    target: 'project-overview',
    title: 'Your project overview',
    content: ProjectOverview,
  }],
})

Choose a recipe

Each recipe uses the same four concepts: defineTour() describes, <TourHost /> renders, a composable controls, and a semantic target locates.