Gomponents

screenshot of Gomponents
html

HTML components in pure Go.

Overview:

gomponents is a Go library that allows developers to build reusable view components in pure Go, without the need for complex template languages. It aims to simplify the process of building HTML5 components, allowing developers to focus on creating their applications instead of learning new templating languages. The library provides a simple API that is easy to learn and use, and includes helpful features such as type safety, auto-completion, and useful helpers for rendering text, mapping data to components, and conditional rendering. gomponents is made by maragu, the creator of online Go courses.

Features:

  • Write reusable view components in pure Go
  • Write declarative HTML5 in Go without using strings
  • Provides type safety and auto-completion
  • Simple API that is easy to learn and use
  • Helpful helpers like Text and Textf for inserting HTML-escaped text, Map for mapping data to components, and If for conditional rendering
  • No external dependencies
html
HTML

HTML templates are pre-designed and pre-built web pages that can be customized and used as a basis for building websites. They often include common elements such as headers, footers, menus, and content sections, and can be easily edited using HTML and CSS to fit specific branding and content needs.

ui-kit
UI Kits & Components

A UI kit provides developers with a set of reusable components that can be easily integrated into a website or application. These components are pre-designed with consistent styling and functionality, allowing developers to save time and effort in the design and development process. UI kits can be either custom-built or third-party, and often include components for buttons, forms, typography, icons, and more.