shadcn-templ
A community port of shadcn/ui for Go and templ, with Tailwind CSS styling and copy-in components.
- Category
- Framework Ports
- 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
Links
1 link
Framework Ports
Similar to shadcn-templ
More framework ports like shadcn-templ: the closest by what they do, then the most starred.
shadcn-sveltePortshadcn-svelte is the community Svelte port of shadcn/ui, with composable, accessible components built on Bits UI and Tailwind CSS under MIT.
React Native ReusablesPortReact Native Reusables brings shadcn/ui to React Native with Nativewind or Uniwind styling, a live preview and open-source, MIT-licensed code.
nativecn-uiPortnativecn-ui is an MIT-licensed set of React Native components inspired by shadcn-ui, with NativeWind styling, CSS variables and dark mode built in.
SaladUIPortSaladUI is a Phoenix LiveView component library inspired by shadcn/ui, with Tailwind CSS styling, a live storybook and an MIT license.
shadcn/ui on RailsPortshadcn/ui on Rails is an open-source set of themed Rails components based on shadcn/ui. The author says it is no longer actively developed.
shadcn-solidPortshadcn-solid is an unofficial, community-led SolidJS port of shadcn/ui. It is free, MIT licensed and meant as a base for your own library.
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.
No. The README says it is an unofficial, community-led port and not affiliated with shadcn.
A community port of shadcn/ui for Go and templ, with Tailwind CSS styling and copy-in components.
shadcn-templ lists Port of shadcn/ui to Go and templ, Tailwind CSS styling, Open code you own and edit, Version 2.0 released, Accessible component set and MIT license.
The directory lists these uses for shadcn-templ: Building a server-rendered Go app with a polished UI, Starting an internal component library for templ and Replacing hand-written HTML in Go templates.
shadcn-templ is made by axadrn, at https://github.com/axadrn. Its site is https://github.com/axadrn/shadcn-templ.
shadcn-templ was added to the directory on August 11, 2026.
shadcn-templ is in Framework Ports. shadcn/ui rebuilt for other frameworks and platforms: Vue, Svelte, Solid, Angular, Flutter, React Native and more.
Components, Go, Tailwind CSS, Design system, Open source, MIT and Free. Each tag has a page listing the other resources that carry it.
Yes. shadcn-templ's page has a Live tab beside the screenshot that loads its site in a frame.
In the documentation at shadcn-templ.com/docs.
The directory lists no install command for shadcn-templ. Follow its docs at https://shadcn-templ.com/docs.
The directory lists no shadcn CLI command for shadcn-templ. Check its docs at https://shadcn-templ.com/docs for how to add it.
shadcn-templ's repository is https://github.com/axadrn/shadcn-templ.
shadcn-templ's docs are at https://shadcn-templ.com/docs.
GitHub lists shadcn-templ under the MIT license. Read the license file in its repository for the terms.
The directory records no price for shadcn-templ. Its site, https://github.com/axadrn/shadcn-templ, is where its pricing, if any, is stated.
No. shadcn-templ is made by axadrn and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Framework Ports, newest first: shadcn-svelte, React Native Reusables, nativecn-ui and SaladUI. Their pages are linked under Similar to shadcn-templ.
Open its category, Framework Ports, or one of its tags (Components, Go and Tailwind CSS): each page lists the resources that share it.
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




