Documentation
¶
Overview ¶
Package avatars provides components for rendering user avatars.
Index ¶
- func Avatar(p Props, children ...htmx.Node) htmx.Node
- func Group(p Props, children ...htmx.Node) htmx.Node
- func Offline(p Props, children ...htmx.Node) htmx.Node
- func Online(p Props, children ...htmx.Node) htmx.Node
- func Placeholder(p Props, children ...htmx.Node) htmx.Node
- func RoundLarge(p Props, children ...htmx.Node) htmx.Node
- func RoundSmall(p Props, children ...htmx.Node) htmx.Node
- func RoundedLarge(p Props, children ...htmx.Node) htmx.Node
- func RoundedMedium(p Props, children ...htmx.Node) htmx.Node
- func RoundedSmall(p Props, children ...htmx.Node) htmx.Node
- type Props
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Placeholder ¶
Placeholder generates a placeholder for an avatar based on the provided properties.
func RoundLarge ¶
RoundLarge generates a large round avatar based on the provided properties.
func RoundSmall ¶
RoundSmall generates an extra small round avatar based on the provided properties.
func RoundedLarge ¶
RoundedLarge generates a large avatar based on the provided properties.
func RoundedMedium ¶
RoundedMedium generates an avatar based on the provided properties.