August 2026 - templui 2.0
The complete rewrite: shadcn/ui for templ. Every component rebuilt, eight visual styles, templui create, Typeset, Charts and a new CLI.
templui 2.0 is a complete rewrite with one goal: being the shadcn/ui pendant for templ.
Every component is rebuilt against shadcn/ui and Base UI: same API surface, same markup, same styles, with the client behavior ported to dependency-free vanilla JavaScript.
What’s new:
- Over 50 components - the shadcn/ui set, rebuilt 1:1 for templ, with the remaining ones on the way.
- Eight visual styles - Vega, Nova, Lyra, Maia, Mira, Luma, Sera and Rhea. Pick one and the registry compiles every component for it.
- templui create - pick your style, base color, theme, fonts and icons and create your own version of templui.
- Typeset - typography for markdown you don’t control. One stylesheet, wrap your content, done.
- Charts - beautiful charts built for templ, rendered on canvas by a faithful port of the reference behavior.
- A new CLI -
initwith project templates and presets,add,apply, and a registry that delivers each component compiled for your chosen style.
2.0 is a new major with a new API across the board. The v1 docs stay at templui.io until 2.0 is stable.
Install the beta:
This is a beta. If something looks off, open an issue.