Daz

screenshot of Daz

Composable HTML components in Golang

Overview

Daz is a Golang library that provides composable HTML components as an alternative to using templates. It allows for the creation of nested components and lists, and also enables the development of server-side rendered components without the need for templates. Daz takes inspiration from HyperScript and offers a simple and functional approach to creating HTML elements.

Features

  • Composable components: Daz allows users to create HTML components using simple functions.
  • Nested components and lists: Daz supports the creation of nested components and lists without the need for range / end tags in templates.
  • Template-free server-side rendered components: Daz enables developers to create server-side rendered components without relying on templates.
  • Inspired by HyperScript: Daz takes inspiration from HyperScript, providing a similar functional approach to creating HTML elements.

Summary

Daz is a Golang library that offers composable HTML components with support for nested components and lists. It provides a template-free approach to server-side rendered components using a functional style inspired by HyperScript. With Daz, developers can easily create and manipulate HTML elements in their Go applications.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.