Actions
Link
A real link with button styling.
components.Link · LinkProps
Preview
Open standalone preview →Use it well.
Use Href for navigation. Outline and Primary affect presentation. Optional HTMX attributes do not load a runtime.
Explore the full demo →Templ example
Download example.templThis 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/GothUI/v2026/components"
templ ExampleLink() {
@components.Link(components.LinkProps{Text: "Explore the dashboard", Href: "/dashboard", Outline: true, IconAfter: components.IconArrowRight})
}