---
{
  title: 'Go',
  description: 'Use NVIDIA Elements with Go web frameworks: serve the components from Go templates and integrate with html/template rendering.',
  layout: 'docs.11ty.js'
}
---

# {{ title }}

{% integration 'go' %}

{% installation 'go' %}

Elements is agnostic to any frontend or backend tooling. To leverage elements in Go based templating two paths are available.

1. Static bundles with little to no JavScript ecosystem tooling
2. Build time tooling with NodeJS and npm packages

The current simple [Go starter]({{ELEMENTS_REPO_BASE_URL}}/-/tree/main/projects/starters/go) provides an example of a basic Go web server leveraging the pre-built JS and CSS bundles. This enables Go generated HTML pages with minimal NodeJS/JavaScript ecosystem tooling.

But, if you would like to integrate advanced tooling such as TypeScript, treeshaking or other JavaScript ecosystem tools and packages consider leveraging tools like [Vite](https://vite.dev/) and [Vite Go](https://olivere.github.io/vite/)

## Registry Usage Guidelines

{% artifactory-usage %}
