Examples

Explore live decks and examples that integrate decks into HonoX and Void applications.

Open each deck on a live Worker

Every example uses the same hono-decks package, with density, color, and composition tuned to its purpose.

Basic

The full example for code, assets, embeds, Fire reveals, and hydrated islands.

Source ↗

Make the talk part of the portfolio

examples/honox embeds the deck inside its portfolio page and links to viewer and presentation surfaces. HonoX owns SEO and navigation; hono-decks owns presentation routes.

Talk embedded in the HonoX portfolioOpen live deck

Surfaces in the same deployment

  • /
  • /decks/honox
  • /decks/honox/presentation
  • /decks/honox/print

Open the full portfolio →

Embed a deck in a Void application

The Void sample forwards /slides/* from a catch-all route to the hono-decks Hono router. Its home page uses decks.paths("welcome") to embed the deck and link to the standalone viewer. hono-decks/vite compiles the MDX during development and builds.

This sample uses MDX and does not require a Hono Markdown adapter. The Markdown (deck.md) generated by Void-specific init requires a compatible adapter. In the Void setup, --install adds missing dependencies.

Slides embedded in VoidOpen the full sample

On touch devices, tap the slide edges to navigate. The controls are transparent at rest and become visible while pressed or keyboard-focused.

The sample enables the viewer and embed surfaces, while presentation, presenter, print, and export are disabled. The embed permits the sample itself and this documentation site through frameAncestors.

Source and setup instructions ↗

Start from the closest architecture

Minimal
Adding the smallest deck surface to an existing Hono Worker.
HonoX
Publishing talks beside a blog, profile, or work index.
Void
Embedding a deck in a Void application page.
Basic
Evaluating R2, embeds, motion, and export in one project.
OGP
Generating social share images during the build.

Continue to installation →

Built with HonoX and honoxpress.