Versions in this module Expand all Collapse all v4 v4.2.0 Jul 5, 2026 Changes in this version + type DataAttribute struct + Name string + Value string type Props + DataAttr DataAttribute + Text string v4.1.1 Jul 5, 2026 v4.1.0 Jul 5, 2026 v4.0.1 Jun 29, 2026 v4.0.0 Jun 29, 2026 Changes in this version + func A(parseProps Props, parseChildren ...ui.Node) ui.Node + func Abbr(parseProps Props, parseChildren ...ui.Node) ui.Node + func ApplyPropOptions(parseProps *Props, parseOptions ...PropOption) + func Article(parseProps Props, parseChildren ...ui.Node) ui.Node + func Aside(parseProps Props, parseChildren ...ui.Node) ui.Node + func Audio(parseProps Props, parseChildren ...ui.Node) ui.Node + func B(parseProps Props, parseChildren ...ui.Node) ui.Node + func Blockquote(parseProps Props, parseChildren ...ui.Node) ui.Node + func Body(parseProps Props, parseChildren ...ui.Node) ui.Node + func Br(parseProps Props) ui.Node + func Button(parseProps Props, parseChildren ...ui.Node) ui.Node + func Canvas(parseProps Props, parseChildren ...ui.Node) ui.Node + func Caption(parseProps Props, parseChildren ...ui.Node) ui.Node + func Children(parseValues ...any) []ui.Node + func Circle(parseProps Props) ui.Node + func ClassMap(parseValues map[string]bool) string + func ClassNames(parseParts ...any) string + func Coalesce[T any](parseValues ...*T) *T + func Code(parseProps Props, parseChildren ...ui.Node) ui.Node + func Col(parseProps Props) ui.Node + func Colgroup(parseProps Props, parseChildren ...ui.Node) ui.Node + func Cond(parseBranches ...CondBranch) ui.Node + func CustomElement(parseName string, parseProps CustomElementProps, parseChildren ...ui.Node) ui.Node + func DNSPrefetch(parseHref string) ui.Node + func Datalist(parseProps Props, parseChildren ...ui.Node) ui.Node + func Debounce(parseDelay time.Duration, parseCallback any) any + func Defs(parseProps Props, parseChildren ...ui.Node) ui.Node + func Del(parseProps Props, parseChildren ...ui.Node) ui.Node + func Details(parseProps Props, parseChildren ...ui.Node) ui.Node + func Dialog(parseProps Props, parseChildren ...ui.Node) ui.Node + func Div(parseProps Props, parseChildren ...ui.Node) ui.Node + func Em(parseProps Props, parseChildren ...ui.Node) ui.Node + func Fieldset(parseProps Props, parseChildren ...ui.Node) ui.Node + func Figcaption(parseProps Props, parseChildren ...ui.Node) ui.Node + func Figure(parseProps Props, parseChildren ...ui.Node) ui.Node + func FilterMap[T any](parseItems []T, render func(T) (ui.Node, bool)) []ui.Node + func FlatMap[T any](parseItems []T, render func(T) []ui.Node) []ui.Node + func Footer(parseProps Props, parseChildren ...ui.Node) ui.Node + func Form(parseProps Props, parseChildren ...ui.Node) ui.Node + func Fragment(parseChildren ...ui.Node) ui.Node + func G(parseProps Props, parseChildren ...ui.Node) ui.Node + func H1(parseProps Props, parseChildren ...ui.Node) ui.Node + func H2(parseProps Props, parseChildren ...ui.Node) ui.Node + func H3(parseProps Props, parseChildren ...ui.Node) ui.Node + func H4(parseProps Props, parseChildren ...ui.Node) ui.Node + func H5(parseProps Props, parseChildren ...ui.Node) ui.Node + func H6(parseProps Props, parseChildren ...ui.Node) ui.Node + func Head(parseProps Props, parseChildren ...ui.Node) ui.Node + func Header(parseProps Props, parseChildren ...ui.Node) ui.Node + func HiddenInput(parseName string, parseValue string) ui.Node + func Hr(parseProps Props) ui.Node + func Html(parseProps Props, parseChildren ...ui.Node) ui.Node + func I(parseProps Props, parseChildren ...ui.Node) ui.Node + func If(isCondition bool, parseNode ui.Node) ui.Node + func IfElse(isCondition bool, parseWhenTrue ui.Node, parseWhenFalse ui.Node) ui.Node + func Iframe(parseProps Props, parseChildren ...ui.Node) ui.Node + func Img(parseProps Props) ui.Node + func Input(parseProps Props) ui.Node + func Ins(parseProps Props, parseChildren ...ui.Node) ui.Node + func Join(parseSeparator ui.Node, parseNodes ...ui.Node) []ui.Node + func Kbd(parseProps Props, parseChildren ...ui.Node) ui.Node + func Label(parseProps Props, parseChildren ...ui.Node) ui.Node + func Legend(parseProps Props, parseChildren ...ui.Node) ui.Node + func Li(parseProps Props, parseChildren ...ui.Node) ui.Node + func Line(parseProps Props) ui.Node + func Link(parseProps Props) ui.Node + func Main(parseProps Props, parseChildren ...ui.Node) ui.Node + func MapIndexed[T any](parseItems []T, render func(parseIndex int, parseItem T) ui.Node) []ui.Node + func MapKeyedComponent[T any](parseItems []T, parseKey func(T) any, render func(T) ui.Node) []ui.Node + func MapKeyedIndexed[T any](parseItems []T, parseKey func(parseIndex int, parseItem T) any, ...) []ui.Node + func MapKeyedOr[T any](parseItems []T, parseKey func(T) any, render func(T) ui.Node, ...) ui.Node + func MapKeyed[T any](parseItems []T, parseKey func(T) any, render func(T) ui.Node) []ui.Node + func MapOr[T any](parseItems []T, render func(T) ui.Node, parseFallback ui.Node) ui.Node + func Map[T any](parseItems []T, render func(T) ui.Node) []ui.Node + func Mark(parseProps Props, parseChildren ...ui.Node) ui.Node + func Markdown(parseSource string, parseOptions ...MarkdownRenderOptions) []ui.Node + func MaybeOr[T any](parseValue *T, render func(T) ui.Node, parseFallback ui.Node) ui.Node + func Maybe[T any](parseValue *T, render func(T) ui.Node) ui.Node + func Meta(parseProps Props) ui.Node + func Meter(parseProps Props, parseChildren ...ui.Node) ui.Node + func ModulePreload(parseHref string) ui.Node + func Nav(parseProps Props, parseChildren ...ui.Node) ui.Node + func NoScript(parseProps Props, parseChildren ...ui.Node) ui.Node + func Ol(parseProps Props, parseChildren ...ui.Node) ui.Node + func Optgroup(parseProps Props, parseChildren ...ui.Node) ui.Node + func Option(parseProps Props, parseChildren ...ui.Node) ui.Node + func OrElse[T any](parseValue *T, parseFallback T) T + func Output(parseProps Props, parseChildren ...ui.Node) ui.Node + func P(parseProps Props, parseChildren ...ui.Node) ui.Node + func Passive(parseCallback any) any + func Path(parseProps Props) ui.Node + func Picture(parseProps Props, parseChildren ...ui.Node) ui.Node + func Polygon(parseProps Props) ui.Node + func Polyline(parseProps Props) ui.Node + func Pre(parseProps Props, parseChildren ...ui.Node) ui.Node + func Preconnect(parseHref string) ui.Node + func Prefetch(parseHref string) ui.Node + func Preload(parseHref, parseAs string) ui.Node + func Prevent(parseCallback any) any + func Progress(parseProps Props, parseChildren ...ui.Node) ui.Node + func Range(parseCount int, render func(parseIndex int) ui.Node) []ui.Node + func RawHTML(parseMarkup string) []ui.Node + func RawHTMLUnsafe(parseMarkup string) []ui.Node + func RawHTMLWith(parseMarkup string, parsePolicy sanitize.Policy) []ui.Node + func Rect(parseProps Props) ui.Node + func RenderMarkdown(parseMarkdown string, parseOptions ...MarkdownRenderOptions) []ui.Node + func Repeat(parseCount int, parseNode ui.Node) []ui.Node + func ResolveMarkdownHref(parseSourcePath, parseDestination string) string + func SanitizeMarkdownHref(parseDestination string, parseAllowed []string) string + func Script(parseProps Props, parseChildren ...ui.Node) ui.Node + func Section(parseProps Props, parseChildren ...ui.Node) ui.Node + func Select(parseProps Props, parseChildren ...ui.Node) ui.Node + func Show(isCondition bool, parseNode ui.Node) ui.Node + func Small(parseProps Props, parseChildren ...ui.Node) ui.Node + func Source(parseProps Props) ui.Node + func Span(parseProps Props, parseChildren ...ui.Node) ui.Node + func Stop(parseCallback any) any + func Strong(parseProps Props, parseChildren ...ui.Node) ui.Node + func Sub(parseProps Props, parseChildren ...ui.Node) ui.Node + func Summary(parseProps Props, parseChildren ...ui.Node) ui.Node + func Sup(parseProps Props, parseChildren ...ui.Node) ui.Node + func Svg(parseProps Props, parseChildren ...ui.Node) ui.Node + func Switch(parseValue any, parseBranches ...SwitchBranch) ui.Node + func Table(parseProps Props, parseChildren ...ui.Node) ui.Node + func Tag(parseName string, parseProps Props, parseChildren ...ui.Node) ui.Node + func Tbody(parseProps Props, parseChildren ...ui.Node) ui.Node + func Td(parseProps Props, parseChildren ...ui.Node) ui.Node + func Text(parseContent any) ui.Node + func TextIf(isCondition bool, parseContent any) ui.Node + func TextLines(parseText string) []ui.Node + func Textarea(parseProps Props, parseChildren ...ui.Node) ui.Node + func Textf(format string, parseArgs ...any) ui.Node + func Tfoot(parseProps Props, parseChildren ...ui.Node) ui.Node + func Th(parseProps Props, parseChildren ...ui.Node) ui.Node + func Thead(parseProps Props, parseChildren ...ui.Node) ui.Node + func Throttle(parseInterval time.Duration, parseCallback any) any + func Time(parseProps Props, parseChildren ...ui.Node) ui.Node + func Tr(parseProps Props, parseChildren ...ui.Node) ui.Node + func Track(parseProps Props) ui.Node + func U(parseProps Props, parseChildren ...ui.Node) ui.Node + func Ul(parseProps Props, parseChildren ...ui.Node) ui.Node + func Unless(isCondition bool, parseNode ui.Node) ui.Node + func Use(parseProps Props) ui.Node + func Video(parseProps Props, parseChildren ...ui.Node) ui.Node + func When(isCondition bool, parseClassName string) string + func WithChildren(parseNode ui.Node, parseChildren ...ui.Node) ui.Node + func WithKey(parseNode ui.Node, parseKey any) ui.Node + type Binding interface + Get func() string + Set func(string) + type CondBranch struct + func Match(isCondition bool, parseNode ui.Node) CondBranch + func Otherwise(parseNode ui.Node) CondBranch + type CustomElementProps struct + Attributes map[string]string + Presence map[string]bool + Properties map[string]any + Props Props + type MarkdownClasses struct + Blockquote string + CodeBlockContainer string + CodeBlockLabel string + CodeBlockPre string + Emphasis string + Heading1 string + Heading2 string + Heading3 string + Heading4 string + Heading5 string + Heading6 string + HorizontalRule string + InlineCode string + Link string + List string + ListItem string + OrderedList string + Paragraph string + Strong string + UnorderedList string + type MarkdownRenderOptions struct + AllowedURLSchemes []string + Classes MarkdownClasses + CodeBlockLabel string + LinkRel string + LinkTarget string + ResolveHref func(sourcePath, destination string) string + SourcePath string + type PropOption interface + func Accept(parseValue string) PropOption + func Alt(parseValue string) PropOption + func Aria(parseName string, parseValue string) PropOption + func AriaSet(parseValues map[string]string) PropOption + func Attr(parseKey string, parseValue any) PropOption + func AttrIf(isCondition bool, parseKey string, parseValue any) PropOption + func Attrs(parseValues map[string]any) PropOption + func AutoComplete(parseValue string) PropOption + func AutoFocus(parseValues ...bool) PropOption + func Bind(parseState ui.State[string]) PropOption + func BindFunc(parseGet func() string, parseSet func(string)) PropOption + func BindTo(parseTarget Binding) PropOption + func Checked(parseValues ...bool) PropOption + func Class(parseValue string) PropOption + func ClassIf(isCondition bool, parseClass string) PropOption + func ColSpan(parseValue int) PropOption + func Cols(parseValue int) PropOption + func Data(parseName string, parseValue string) PropOption + func Dataset(parseValues map[string]string) PropOption + func Dir(parseValue string) PropOption + func Disabled(parseValues ...bool) PropOption + func DisabledIf(isCondition bool) PropOption + func For(parseValue string) PropOption + func Height(parseValue string) PropOption + func Hidden(parseValues ...bool) PropOption + func Href(parseValue string) PropOption + func ID(parseValue string) PropOption + func Lang(parseValue string) PropOption + func Loading(parseValue string) PropOption + func Max(parseValue string) PropOption + func MaxLength(parseValue int) PropOption + func Min(parseValue string) PropOption + func MinLength(parseValue int) PropOption + func Multiple(parseValues ...bool) PropOption + func Name(parseValue string) PropOption + func OnAnimationEnd(parseCallback any) PropOption + func OnBlur(parseCallback any) PropOption + func OnChange(parseCallback any) PropOption + func OnClick(parseCallback any) PropOption + func OnClickParallel(parseSlotID string, parseCallback any) PropOption + func OnContextMenu(parseCallback any) PropOption + func OnDoubleClick(parseCallback any) PropOption + func OnDragEnd(parseCallback any) PropOption + func OnDragOver(parseCallback any) PropOption + func OnDragStart(parseCallback any) PropOption + func OnDrop(parseCallback any) PropOption + func OnError(parseCallback any) PropOption + func OnFocus(parseCallback any) PropOption + func OnInput(parseCallback any) PropOption + func OnKeyDown(parseCallback any) PropOption + func OnKeyUp(parseCallback any) PropOption + func OnLoad(parseCallback any) PropOption + func OnMouseDown(parseCallback any) PropOption + func OnMouseEnter(parseCallback any) PropOption + func OnMouseLeave(parseCallback any) PropOption + func OnMouseUp(parseCallback any) PropOption + func OnPointerDown(parseCallback any) PropOption + func OnPointerMove(parseCallback any) PropOption + func OnPointerUp(parseCallback any) PropOption + func OnScroll(parseCallback any) PropOption + func OnSubmit(parseCallback any) PropOption + func OnTouchEnd(parseCallback any) PropOption + func OnTouchMove(parseCallback any) PropOption + func OnTouchStart(parseCallback any) PropOption + func OnTransitionEnd(parseCallback any) PropOption + func OnWheel(parseCallback any) PropOption + func Open(parseValues ...bool) PropOption + func Pattern(parseValue string) PropOption + func Placeholder(parseValue string) PropOption + func ReadOnly(parseValues ...bool) PropOption + func ReadOnlyIf(isCondition bool) PropOption + func Ref(parseRef ui.DOMRef) PropOption + func Rel(parseValue string) PropOption + func Required(parseValues ...bool) PropOption + func Role(parseValue string) PropOption + func RowSpan(parseValue int) PropOption + func Rows(parseValue int) PropOption + func Selected(parseValues ...bool) PropOption + func SelectedIf(isCondition bool) PropOption + func Src(parseValue string) PropOption + func Step(parseValue string) PropOption + func Style(parseValues map[string]string) PropOption + func StyleIf(isCondition bool, parseValues map[string]string) PropOption + func StyleVar(parseName string, parseValue string) PropOption + func TabIndex(parseValue int) PropOption + func Target(parseValue string) PropOption + func Title(parseValue string) PropOption + func Type(parseValue string) PropOption + func Value(parseValue string) PropOption + func Width(parseValue string) PropOption + type Props struct + Accept string + Action string + Alt string + Aria map[string]string + As string + AutoComplete string + AutoFocus bool + Checked bool + Class string + ColSpan int + Cols int + Data map[string]string + Dir string + Disabled bool + EncType string + For string + Height string + Hidden bool + Href string + ID string + Key string + Lang string + Loading string + Max string + MaxLength int + Method string + Min string + MinLength int + Multiple bool + Name string + OnAnimationEnd ui.Handler + OnBlur ui.Handler + OnChange ui.Handler + OnClick ui.Handler + OnContextMenu ui.Handler + OnDoubleClick ui.Handler + OnDragEnd ui.Handler + OnDragOver ui.Handler + OnDragStart ui.Handler + OnDrop ui.Handler + OnError ui.Handler + OnFocus ui.Handler + OnInput ui.Handler + OnKeyDown ui.Handler + OnKeyUp ui.Handler + OnLoad ui.Handler + OnMouseDown ui.Handler + OnMouseEnter ui.Handler + OnMouseLeave ui.Handler + OnMouseUp ui.Handler + OnPointerDown ui.Handler + OnPointerMove ui.Handler + OnPointerUp ui.Handler + OnScroll ui.Handler + OnSubmit ui.Handler + OnTouchEnd ui.Handler + OnTouchMove ui.Handler + OnTouchStart ui.Handler + OnTransitionEnd ui.Handler + OnWheel ui.Handler + Open bool + Pattern string + Placeholder string + Raw map[string]any + ReadOnly bool + Rel string + Required bool + Role string + RowSpan int + Rows int + Selected bool + Slot string + Src string + Step string + Style map[string]string + TabIndex int + Target string + Title string + Type string + Value string + Width string + func DefaultProps(parseProps Props, parseDefaults Props) Props + func MergeProps(parseBase Props, parseOverride Props) Props + func PropsOf(parseOptions ...PropOption) Props + func WithProps(parseBase Props, parseOptions ...PropOption) Props + type SwitchBranch struct + func Case(parseValue any, parseNode ui.Node) SwitchBranch + func Default(parseNode ui.Node) SwitchBranch Other modules containing this package github.com/monstercameron/GoWebComponents