Versions in this module Expand all Collapse all v0 v0.0.7 Jan 17, 2026 v0.0.6 Jan 15, 2026 v0.0.5 Jan 15, 2026 v0.0.4 Jan 15, 2026 v0.0.3 Jan 5, 2026 v0.0.2 Jan 4, 2026 v0.0.1 Dec 23, 2025 Changes in this version + func Box(opts ...BoxOption) g.Node + func Center(children ...g.Node) g.Node + func Container(children ...g.Node) g.Node + func Flex(opts ...FlexOption) g.Node + func Grid(opts ...GridOption) g.Node + func HStack(gap string, children ...g.Node) g.Node + func Provider(opts ...ProviderOption) g.Node + func ProviderDispatch(providerName, eventName, data string) string + func ProviderMethod(providerName, method string, args ...string) string + func ProviderScriptUtilities() g.Node + func ProviderStack(providers ...g.Node) g.Node + func ProviderValue(providerName, key string) string + func Spacer() g.Node + func Text(opts ...TextOption) g.Node + func VStack(gap string, children ...g.Node) g.Node + type BoxOption func(*BoxProps) + func WithAs(tag string) BoxOption + func WithAttrs(attrs ...g.Node) BoxOption + func WithBackground(bg string) BoxOption + func WithChildren(children ...g.Node) BoxOption + func WithClass(class string) BoxOption + func WithHeight(h string) BoxOption + func WithMargin(m string) BoxOption + func WithPadding(p string) BoxOption + func WithRounded(rounded string) BoxOption + func WithShadow(shadow string) BoxOption + func WithWidth(w string) BoxOption + type BoxProps struct + As string + Attrs []g.Node + Bg string + Children []g.Node + Class string + H string + M string + P string + Rounded string + Shadow string + W string + type FlexOption func(*FlexProps) + func FlexAlign(align string) FlexOption + func FlexAttrs(attrs ...g.Node) FlexOption + func FlexChildren(children ...g.Node) FlexOption + func FlexClass(class string) FlexOption + func FlexDirection(direction string) FlexOption + func FlexGap(gap string) FlexOption + func FlexJustify(justify string) FlexOption + func FlexWrap(wrap string) FlexOption + type FlexProps struct + Align string + Attrs []g.Node + Children []g.Node + Class string + Direction string + Gap string + Justify string + Wrap string + type GridOption func(*GridProps) + func GridAttrs(attrs ...g.Node) GridOption + func GridChildren(children ...g.Node) GridOption + func GridClass(class string) GridOption + func GridCols(cols int) GridOption + func GridColsLG(cols int) GridOption + func GridColsMD(cols int) GridOption + func GridColsSM(cols int) GridOption + func GridColsXL(cols int) GridOption + func GridGap(gap string) GridOption + type GridProps struct + Attrs []g.Node + Children []g.Node + Class string + Cols int + ColsLG int + ColsMD int + ColsSM int + ColsXL int + Gap string + type ProviderOption func(*ProviderProps) + func WithProviderAttrs(attrs ...g.Node) ProviderOption + func WithProviderChildren(children ...g.Node) ProviderOption + func WithProviderClass(class string) ProviderOption + func WithProviderDebug(debug bool) ProviderOption + func WithProviderHook(name, code string) ProviderOption + func WithProviderInit(init string) ProviderOption + func WithProviderMethods(methods string) ProviderOption + func WithProviderName(name string) ProviderOption + func WithProviderState(state map[string]any) ProviderOption + type ProviderProps struct + Attrs []g.Node + Children []g.Node + Class string + Debug bool + Hooks map[string]string + Methods string + Name string + OnInit string + State map[string]any + type TextOption func(*TextProps) + func TextAlign(align string) TextOption + func TextAs(tag string) TextOption + func TextAttrs(attrs ...g.Node) TextOption + func TextChildren(children ...g.Node) TextOption + func TextClass(class string) TextOption + func TextColor(color string) TextOption + func TextSize(size string) TextOption + func TextWeight(weight string) TextOption + type TextProps struct + Align string + As string + Attrs []g.Node + Children []g.Node + Class string + Color string + Size string + Weight string