Actions

Link

A real link with button styling.

components.Link · LinkProps

Use it well.

Use Href for navigation. Outline and Primary affect presentation. Optional HTMX attributes do not load a runtime.

Explore the full demo →

This is the source compiled for the preview. Select the text to copy it, or download the file. Change the package name and demo routes for your application.

package examples

import "github.com/Tend-Stack/TendUI/v2026/components"

templ ExampleLink() {
	@components.Link(components.LinkProps{Text: "Explore the dashboard", Href: "/dashboard", Outline: true, IconAfter: components.IconArrowRight})
}