Versions in this module Expand all Collapse all v0 v0.1.0 Oct 12, 2026 Changes in this version + var Files embed.FS + func BindAssets(mux *http.ServeMux) error + func Funcs() template.FuncMap + func NewTemplates() (*template.Template, error) + func RenderComponent(tpl *template.Template, w io.Writer, component Component) error + type Component struct + Chapter string + ID string + Name string + Props map[string]any + type ComponentChapter struct + Number int + Slug string + Stories []ComponentStory + Summary string + Title string + func Catalogue() ([]ComponentChapter, error) + type ComponentDefinition struct + Aliases []string + Chapter string + Family string + Name string + Template string + func ComponentDefinitions() ([]ComponentDefinition, error) + func ResolveComponent(chapter, name string) (ComponentDefinition, error) + type ComponentStory struct + Components []string + Endpoint string + Name string + Slug string + Title string + type Option struct + Disabled bool + Label string + Selected bool + Value string