hono-preact
Overview
Quick Start
The Route Table
Layouts & Nesting
Adding Pages
Active Links
Server Loaders
Loading States
Reloading Data
Prefetching
Streaming
Live Loaders
Realtime Channels
Server Actions
Validation
Optimistic UI
View Transitions
Middleware
CSRF Protection
CLI
Vite Config
Project Structure
Composing Hono Middleware
WebSockets
Rooms & Presence
renderPage
Link Prefetch
Build & Deploy
Overview
Dialog
Popover
Tooltip
Menu
Context Menu
Select
Combobox
Toast
renderElement
useControllableState
mergeRefs
useListNavigation
useTypeahead
useListboxSelection
usePosition
usePositioner
useDismiss
useFocusReturn
useSafeArea
usePresence

Components#

hono-preact ships a set of headless, accessible UI primitives that lean on the platform: the native <dialog> element and top layer, a battle-tested positioning library, and a thin ARIA, keyboard, and collection layer on top. The popup components (Popover, Tooltip, Menu, Select, Combobox) promote their surfaces into the top layer with the Popover API and require it; Dialog builds on the native <dialog> element. Positioning is computed in JavaScript, so CSS anchor positioning is not used.

What's here#

The reference is grouped as the library grows: