{"id":31286878,"url":"https://github.com/alexferl/templaui","last_synced_at":"2026-05-18T02:03:01.249Z","repository":{"id":316344794,"uuid":"1062945546","full_name":"alexferl/templaui","owner":"alexferl","description":"A Go library providing Bulma CSS components for the templ templating language","archived":false,"fork":false,"pushed_at":"2025-09-24T02:49:59.000Z","size":248,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-01T05:25:17.857Z","etag":null,"topics":["bulma","bulma-css","bulma-css-framework","go","go-templ","golang","templ","ui-components"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexferl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-24T00:41:53.000Z","updated_at":"2025-09-24T02:50:03.000Z","dependencies_parsed_at":"2025-09-24T04:24:16.205Z","dependency_job_id":null,"html_url":"https://github.com/alexferl/templaui","commit_stats":null,"previous_names":["alexferl/templaui"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/alexferl/templaui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ftemplaui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ftemplaui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ftemplaui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ftemplaui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexferl","download_url":"https://codeload.github.com/alexferl/templaui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ftemplaui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bulma","bulma-css","bulma-css-framework","go","go-templ","golang","templ","ui-components"],"created_at":"2025-09-24T10:47:17.680Z","updated_at":"2026-05-18T02:03:01.232Z","avatar_url":"https://github.com/alexferl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TemplaUI [![Go Report Card](https://goreportcard.com/badge/github.com/alexferl/templaui)](https://goreportcard.com/report/github.com/alexferl/templaui) [![codecov](https://codecov.io/gh/alexferl/templaui/branch/master/graph/badge.svg)](https://codecov.io/gh/alexferl/templaui)\n\n**⚠️ This is a pre-v1 release - APIs may change as we work toward a stable v1.0.**\n\nA Go library providing [Bulma](https://bulma.io/) components for the [templ](https://templ.guide) templating language.\n\n## Requirements\n- Go 1.24+\n\n## Installation\n```shell\ngo get github.com/alexferl/templaui\n```\n\n## Usage\n`hello.templ`:\n```templ\npackage main\n\nimport (\n\t\"github.com/alexferl/templaui\"\n\t\"github.com/alexferl/templaui/elements/tag\"\n\t\"github.com/alexferl/templaui/elements/title\"\n\t\"github.com/alexferl/templaui/layout/container\"\n)\n\ntempl Hello() {\n\t@templaui.Document(templaui.DocumentProps{\n\t\tTitle:       \"My TemplaUI App\",\n\t\tDescription: \"A Hello World example showcasing Bulma components\",\n\t}) {\n\t\t@container.Container() {\n\t\t\t@title.Title(title.TitleProps{Size: title.Is1}) {\n\t\t\t\tHello, World!\n\t\t\t}\n\t\t\t@title.Subtitle(title.SubtitleProps{Size: title.Is4}) {\n\t\t\t\tBuilt with TemplaUI \u0026 Bulma CSS\n\t\t\t}\n\t\t\t@tag.Tags() {\n\t\t\t\t@tag.Tag(tag.TagProps{Color: tag.IsPrimary}) {\n\t\t\t\t\tGo\n\t\t\t\t}\n\t\t\t\t@tag.Tag(tag.TagProps{Color: tag.IsInfo}) {\n\t\t\t\t\tTempl\n\t\t\t\t}\n\t\t\t\t@tag.Tag(tag.TagProps{Color: tag.IsSuccess}) {\n\t\t\t\t\tBulma\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n```\n\n`main.go`:\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"net/http\"\n\n    \"github.com/a-h/templ\"\n)\n\nfunc main() {\n    http.Handle(\"/\", templ.Handler(Hello()))\n    fmt.Println(\"Listening on :3000\")\n    http.ListenAndServe(\":3000\", nil)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexferl%2Ftemplaui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexferl%2Ftemplaui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexferl%2Ftemplaui/lists"}