avatar

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Avatar

func Avatar(props ...Props) templ.Component

func Fallback added in v1.1.0

func Fallback(props ...FallbackProps) templ.Component

func Image added in v1.1.0

func Image(props ...ImageProps) templ.Component

func Script added in v1.1.0

func Script() templ.Component

Types

type FallbackProps added in v1.1.0

type FallbackProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type ImageProps added in v1.1.0

type ImageProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Alt        string
	Src        string
}

type Props

type Props struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

Jump to

Keyboard shortcuts

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