A high-performance interactive template showcasing discovery with maps, lists, and detailed views. This template demonstrates the NitroStack Widget SDK for building beautiful, tool-driven visual experiences.
- Mapbox Integration — Interactive maps with custom markers.
- Real-time State — Shared state between server and widgets.
- Responsive Layouts — Auto-adapting heights and display modes (Inline, PiP, Fullscreen).
- Interactive UI — Sorting, filtering, and favorites persistence.
npx nitrostack init my-pizza-app --template typescript-pizzaz
cd my-pizza-appnpm run install:allNitroStudio provides the best experience for visual testing of widgets and maps.
- Download NitroStudio: nitrostack.ai/studio
- Open Project: Launch NitroStudio and select your project folder.
- View Maps: Use the chat or visual tools to explore your pizza shops.
To enable the interactive map, add your Mapbox token:
- Get a free token at mapbox.com.
- Create
src/widgets/.envand add:NEXT_PUBLIC_MAPBOX_TOKEN=pk.your_token_here
# Start dev server with Studio integration
npm run dev
# Build for production
npm run build
# Manage widgets directly
npm run widget <command>src/modules/pizzaz/— Core logic and pizza shop data.src/widgets/app/pizza-map/— Next.js Map widget.src/widgets/app/pizza-list/— Filterable shop list.src/widgets/app/pizza-shop/— Detail view with actions.
Official Resources
