Documentation ¶
Index ¶
- func Accent(p ButtonProps, children ...htmx.Node) htmx.Node
- func Button(p ButtonProps, children ...htmx.Node) htmx.Node
- func Error(p ButtonProps, children ...htmx.Node) htmx.Node
- func Ghost(p ButtonProps, children ...htmx.Node) htmx.Node
- func Glass(p ButtonProps, children ...htmx.Node) htmx.Node
- func Info(p ButtonProps, children ...htmx.Node) htmx.Node
- func Link(p ButtonProps, children ...htmx.Node) htmx.Node
- func Neutral(p ButtonProps, children ...htmx.Node) htmx.Node
- func Outline(p ButtonProps, children ...htmx.Node) htmx.Node
- func OutlineAccent(p ButtonProps, children ...htmx.Node) htmx.Node
- func OutlineError(p ButtonProps, children ...htmx.Node) htmx.Node
- func OutlineInfo(p ButtonProps, children ...htmx.Node) htmx.Node
- func OutlinePrimary(p ButtonProps, children ...htmx.Node) htmx.Node
- func OutlineSecondary(p ButtonProps, children ...htmx.Node) htmx.Node
- func OutlineSuccess(p ButtonProps, children ...htmx.Node) htmx.Node
- func OutlineWarning(p ButtonProps, children ...htmx.Node) htmx.Node
- func Primary(p ButtonProps, children ...htmx.Node) htmx.Node
- func Secondary(p ButtonProps, children ...htmx.Node) htmx.Node
- func Success(p ButtonProps, children ...htmx.Node) htmx.Node
- func Warning(p ButtonProps, children ...htmx.Node) htmx.Node
- type ButtonProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Accent ¶
func Accent(p ButtonProps, children ...htmx.Node) htmx.Node
Accent generates an accent button element based on the provided properties.
func Button ¶
func Button(p ButtonProps, children ...htmx.Node) htmx.Node
Button generates a button element based on the provided properties.
func Error ¶
func Error(p ButtonProps, children ...htmx.Node) htmx.Node
Error generates an error button element based on the provided properties.
func Ghost ¶
func Ghost(p ButtonProps, children ...htmx.Node) htmx.Node
Ghost generates a ghost button element based on the provided properties.
func Glass ¶
func Glass(p ButtonProps, children ...htmx.Node) htmx.Node
Glass generates a glass button element based on the provided properties.
func Info ¶
func Info(p ButtonProps, children ...htmx.Node) htmx.Node
Info generates an info button element based on the provided properties.
func Link ¶
func Link(p ButtonProps, children ...htmx.Node) htmx.Node
Link generates a link button element based on the provided properties.
func Neutral ¶
func Neutral(p ButtonProps, children ...htmx.Node) htmx.Node
Neutral generates a neutral button element based on the provided properties.
func Outline ¶
func Outline(p ButtonProps, children ...htmx.Node) htmx.Node
Outline generates an outline button element based on the provided properties.
func OutlineAccent ¶
func OutlineAccent(p ButtonProps, children ...htmx.Node) htmx.Node
OutlineAccent generates an outline accent button element based on the provided properties.
func OutlineError ¶
func OutlineError(p ButtonProps, children ...htmx.Node) htmx.Node
OutlineError generates an outline error button element based on the provided properties.
func OutlineInfo ¶
func OutlineInfo(p ButtonProps, children ...htmx.Node) htmx.Node
OutlineInfo generates an outline info button element based on the provided properties.
func OutlinePrimary ¶
func OutlinePrimary(p ButtonProps, children ...htmx.Node) htmx.Node
OutlinePrimary generates an outline primary button element based on the provided properties.
func OutlineSecondary ¶
func OutlineSecondary(p ButtonProps, children ...htmx.Node) htmx.Node
OutlineSecondary generates an outline secondary button element based on the provided properties.
func OutlineSuccess ¶
func OutlineSuccess(p ButtonProps, children ...htmx.Node) htmx.Node
OutlineSuccess generates an outline success button element based on the provided properties.
func OutlineWarning ¶
func OutlineWarning(p ButtonProps, children ...htmx.Node) htmx.Node
OutlineWarning generates an outline warning button element based on the provided properties.
func Primary ¶
func Primary(p ButtonProps, children ...htmx.Node) htmx.Node
Primary generates a primary button element based on the provided properties.
func Secondary ¶
func Secondary(p ButtonProps, children ...htmx.Node) htmx.Node
Secondary generates a secondary button element based on the provided properties.