package examples import "github.com/Tend-Stack/TendUI/v2026/components" templ ExampleErrorSummary() { @components.ErrorSummary(components.ErrorSummaryProps{Errors: []components.FieldError{{ID: "sample-invalid-name", Message: "Enter a project name."}}}) {{ field := components.FieldProps{ID: "sample-invalid-name", Label: "Project name", Error: "Enter a project name.", Required: true} }} @components.Field(field) { } }