T templcn/ui

Imports

Use local Go packages.

Components are source-copied into your project, so imports point at your app's local ui package.

package views

import "your-project/ui"

templ Page() {
  @ui.Button(ui.ButtonProps{Label: "Save"})
}