icons

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: GPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Component

func Component(name string) func(c context.Context, w io.Writer) error

func DefsHTML added in v1.7.2

func DefsHTML() template.HTML

func Icon

func Icon(name string, attrs map[string]string) components.Component

func Load

func Load(name string) template.HTML

func Register

func Register(fs fs.FS, path ...string) error

Types

type IconInterface added in v1.7.2

type IconInterface interface {
	Name() string
	Folder() string
	Fullpath() string
	Source() string
	HTML() template.HTML
}

func Icons

func Icons() []IconInterface

Jump to

Keyboard shortcuts

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