shadcn-templ 2.0 beta. Switch to templUI v1
1.7k

June 2025 - v0.81.0

Release notes for v0.81.0.

Added

  • ๐Ÿ”— Decoupled Triggers: Modal, Drawer, Popover now support data-*-trigger from any element
  • โ†’ Use buttons, links, dropdown items, or multiple triggers per target โ€“ no more nesting needed
  • โ†’ Better JS integration & Tailwind-friendly styling via data-open
  • ๐Ÿ“˜ API Docs: All components now have full API reference in the docs
  • โšก Smarter Swaps: Components mark themselves with initialized=true โ†’ only new elements are re-inited after HTMX/Datastar swaps
  • ๐Ÿงน Docs Cleanup.
  • Better HTMX/Datastar usage

Changed

  • ๐Ÿ‘‰ Integration Guide
  • templUI keeps getting leaner, faster, and more flexible. No lock-ins. No fluff. Just clean UI.

Removed

  • ๐Ÿ†• TagsInput (thx @derkan): Add/remove tags with []string binding, readonly, disabled, and duplicate prevention
  • ๐Ÿ’ฅ Breaking: JS initAllComponents โ†’ now just init()
  • card.Media removed, examples use aspect-ratio

Fixed

  • Typo fix (thx @brtholomy)

Security

  • Removed CSP-related code

Released in v0.81.0.