Versions in this module Expand all Collapse all v0 v0.1.1 Oct 25, 2026 v0.1.0 Oct 12, 2026 Changes in this version + func CSRFField(c *gin.Context) templ.Component + func Dialog(p DialogProps) templ.Component + func ErrorSlot() templ.Component + func FormError(text string) templ.Component + func Head(c *gin.Context, assets *Assets) templ.Component + func LiveRegion() templ.Component + func Render(c *gin.Context, status int, component templ.Component) + func Spinner() templ.Component + type Assets struct + func NewAssets(base string) *Assets + func (a *Assets) Add(prefix string, files fs.FS) error + func (a *Assets) Serve(c *gin.Context) + func (a *Assets) URL(name string) string + type Design struct + Footer templ.Component + Head templ.Component + Name string + Nav []Link + Stylesheets []string + type DialogProps struct + Autoshow bool + Danger bool + Ephemeral bool + ID string + Title string + type Layout struct + Assets *Assets + Page func(c *gin.Context, title string, body templ.Component) templ.Component + func Default(d Design, assets *Assets) Layout + func (l Layout) Error(c *gin.Context, status int, title, text string) + func (l Layout) NotFound(c *gin.Context) + func (l Layout) Render(c *gin.Context, status int, title string, body templ.Component) + type Link struct + Href string + Label string