Download Latest Version v2.0.0-beta.13 source code.zip (6.1 MB) Google Add to Preferred Sources
Home / v2.0.0-beta.13
Name Modified Size InfoDownloads / Week
Parent folder
README.md < 17 hours ago 1.2 kB
v2.0.0-beta.13 source code.tar.gz < 17 hours ago 5.0 MB
v2.0.0-beta.13 source code.zip < 17 hours ago 6.1 MB
Totals: 3 Items   11.1 MB 0

Minor Changes

  • shadcn-templ bundle minifies the component JavaScript, like next build minifies shadcn's components: with every component installed the bundle drops from 967 KB to 387 KB, and from 227 KB to 120 KB gzipped. init, add and bundle write it minified, bundle --watch (which task dev runs) keeps it readable for debugging, like next dev. Component sources are never minified. Both modes use the same file name, a hash of the sources, so the committed components/scripts_bundle.go does not change between development and production builds. Minification runs on your machine through esbuild's Go library, never at runtime, and needs no Node. Nothing to migrate, see CLI.

Breaking Changes

  • Since v2.0.0-beta.11 the components call new helpers in utils/shadcn-templ.go (utils.Direction, utils.DirectionAttributes). Only init installs that file, so a project that updates its components with add -o fails to build with undefined: utils.Direction (#631). Refresh it after updating: bash shadcn-templ add utils -o templ generate
Source: README.md, updated 2026-10-05