Skip to main content

HonoX setup

HonoX renders routes on the server and hydrates only island components that need browser behaviour.

Install

Load the stylesheet

The client entry makes the component CSS available on every page.

Render a route

Add an interactive island

Keep routes server-rendered and put stateful UI in app/islands. HonoX hydrates the island automatically.
Use islands for state, event handlers, browser APIs, or client-only libraries. Static Silva UI components do not need hydration.

TypeScript setup

tsconfig.json
For manual mounting, see Client hydration.