web

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BrandIcons = map[string]string{
	"chatgpt": "node_modules/@lobehub/icons-static-svg/icons/openai.svg",
	"grok":    "node_modules/@lobehub/icons-static-svg/icons/grok.svg",
}

BrandIcons are the model providers' marks, from @lobehub/icons-static-svg (MIT), by Godwit provider ID. Each value is the path under remix.

View Source
var RemixIcons = map[string]string{}/* 119 elements not displayed */

RemixIcons are the Remix Icon SVGs Godwit uses, from the remixicon package (pinned at 4.8.0, its last Apache-2.0 release), by Godwit name: the line style, and the fill style of those a selected rail button or sidebar row shows ("mail-fill"). Each value is the path under remix.

Functions

func BrandIcon added in v1.1.0

func BrandIcon(id string) ([]byte, bool)

BrandIcon returns the SVG of a model provider's mark, as "chatgpt".

func RemixIcon

func RemixIcon(name string) ([]byte, bool)

RemixIcon returns the SVG of a Godwit icon name, as "trash-2".

Types

This section is empty.

Jump to

Keyboard shortcuts

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