
Coralite
Web component framework that builds static sites, dynamic websites and single-page applications from HTML modules.
Coralite is a static site generator built around HTML modules. Components are native custom elements, and a server block in each component runs during the build and writes static HTML files. Components that need interactivity are hydrated in the browser, and an element marked no-hydration is rendered without client-side hydration. The README also says the framework is designed for single-page applications and dynamic websites. The source is on Codeberg, and the guide covers installation.
Worth knowing
The server block runs only at build time, and using browser APIs such as window or localStorage inside it makes the build fail. Top-level imports in a component’s script block are server-only unless the client block uses them.
Identity
- Status
- Active
- Maintainer
- Thomas David1
Rendering and deploy
- Runs as
- Static files4
- Rendering
- Static output, In the browser24
- Install with
- npm create coralite2
Releases
Adoption
- npm downloads a week
- 1817
Sources
- 2026-10-21: links, Maintainer, Categories
coralite.dev/ - 2026-10-21: links, Runtime, Minimum runtime, Install with, Rendering, License
codeberg.org/tjdavid/coralite - 2026-10-21: links
coralite.dev/docs/guide/index.html - 2026-10-21: Rendering, Runs as
coralite.dev/docs/guide/ssr.html - 2026-10-21: License, Current major version
registry.npmjs.org/coralite/latest - 2026-10-21: Last release
registry.npmjs.org/coralite - 2026-10-21: npm downloads a week
api.npmjs.org/downloads/point/last-week/coralite