Skip to content

shadcn-templ

A community port of shadcn/ui for Go and templ, with Tailwind CSS styling and copy-in components.

shadcn-templ.com

shadcn-templ website screenshot
Added
GitHub stars
1.8k
License
MIT
Price
Free

About

About shadcn-templ

shadcn-templ ports shadcn/ui to Go and the templ templating language, so Go web apps get the same component set without a JavaScript framework. The README calls it an unofficial, community-led port that the project's author discussed with shadcn before starting. The repo has about 1,800 stars and its topics include tailwind, design-system and golang. Version 2.0 is announced on the site.

The site frames it as a foundation you customize and extend into your own component library, with open code. Read the documentation at shadcn-templ.com/docs to set it up. The code is licensed under MIT. It suits Go developers building server-rendered apps who want shadcn/ui styling in templ files.

shadcn-templ features

6 features

  • Port of shadcn/ui to Go and templ
  • Tailwind CSS styling
  • Open code you own and edit
  • Version 2.0 released
  • Accessible component set
  • MIT license

What you can build with shadcn-templ

3 use cases

  • Building a server-rendered Go app with a polished UI
  • Starting an internal component library for templ
  • Replacing hand-written HTML in Go templates

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What shadcn-templ is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro