Build your component library with Go, templ & Datastar
Beautifully designed components built with Go templates and Datastar. Copy and paste into your apps. Open source. Customizable. Accessible.
Features
DatastarUI brings the power of modern component libraries to Go and templ with minimal JavaScript.
Server-Side Rendered
Components are rendered on the server with Go templates. Fast initial page loads.
Minimal JavaScript
Only 15KB of JavaScript with Datastar. No heavy frameworks or build steps.
Type Safe
Built with Go's type system. Catch errors at compile time, not runtime.
Accessible
Built with accessibility in mind. Proper ARIA attributes and keyboard navigation.
Customizable
Easy to customize with Tailwind CSS. Change colors, spacing, and more.
Copy & Paste
Copy and paste components into your Go projects. No package manager needed.