avatars

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Avatar

func Avatar(p AvatarProps, children ...htmx.Node) htmx.Node

Avatar generates an avatar based on the provided properties.

func AvatarGroup

func AvatarGroup(p AvatarProps, children ...htmx.Node) htmx.Node

AvatarGroup generates a group of avatars based on the provided properties.

func AvatarOffline

func AvatarOffline(p AvatarProps, children ...htmx.Node) htmx.Node

AvatarOffline generates an offline avatar based on the provided properties.

func AvatarOnline

func AvatarOnline(p AvatarProps, children ...htmx.Node) htmx.Node

AvatarOnline generates an online avatar based on the provided properties.

func AvatarPlaceholder

func AvatarPlaceholder(p AvatarProps, children ...htmx.Node) htmx.Node

AvtarPlaceholder generates a placeholder for an avatar based on the provided properties.

func AvatarRoundLarge

func AvatarRoundLarge(p AvatarProps, children ...htmx.Node) htmx.Node

AvatarRoundLarge generates a large round avatar based on the provided properties.

func AvatarRoundMedium

func AvatarRoundMedium(p AvatarProps, children ...htmx.Node) htmx.Node

AvatarRoundMedium generates a round avatar based on the provided properties.

func AvatarRoundSmall

func AvatarRoundSmall(p AvatarProps, children ...htmx.Node) htmx.Node

AvatarRoundSmall generates an extra small round avatar based on the provided properties.

func AvatarRoundedLarge

func AvatarRoundedLarge(p AvatarProps, children ...htmx.Node) htmx.Node

AvatarRoundedLarge generates a large avatar based on the provided properties.

func AvatarRoundedMedium

func AvatarRoundedMedium(p AvatarProps, children ...htmx.Node) htmx.Node

AvatarRounded generates an avatar based on the provided properties.

func AvatarRoundedSmall

func AvatarRoundedSmall(p AvatarProps, children ...htmx.Node) htmx.Node

AvatarRoundedSmall generates an extra small avatar based on the provided properties.

Types

type AvatarProps

type AvatarProps struct {
	htmx.ClassNames
}

AvatarProps represents the properties for an avatar.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL