Skip to content
API reference

API reference

See the public component and type exports. Sigil and isSigilName are the runtime exports; SigilName is the type export.

@fungi.computer/sigils/favicon exports fungiFaviconSvg, the Fungi sigil as a standalone SVG document, and fungiFaviconHref, the same SVG as a data URI for <link rel="icon" type="image/svg+xml">. The build renders <Sigil name="fungi" /> once to produce both, so Fungi web surfaces take their tab icon from this one owner instead of keeping their own SVG.

Kind Export Description
type alias SigilName Names accepted by the maintained Sigil registry.
function isSigilName() Check an App declaration’s icon against the maintained Sigil vocabulary.
function Sigil() Decorative identities; the enclosing control owns its accessible name.

SigilNametype alias

Section titled “SigilName”
Signature
type SigilName =
| "search"
| "bonsai"
| "computer"
| "prints"
| "inkcap"
| "vishnu"
| "generateText"
| "generateMedia"
| "buyApps"
| "browseBazaar"
| "agent"
| "list"
| "chat"
| "read"
| "readConversations"
| "listAgents"
| "createAgents"
| "sendPrompts"
| "write"
| "run"
| "connected"
| "working"
| "complete"
| "installApps"
| "restricted"
| "error"
| "trellis"
| "games"
| "oyster"
| "tourtois"
| "allApps"
| "browser"
| "internet"
| "members"
| "sell"
| "schedule"
| "fungi";

Names accepted by the maintained Sigil registry.

isSigilName()function

Section titled “isSigilName()”
Signature
function isSigilName(
name,
): name is
| "search"
| "bonsai"
| "computer"
| "prints"
| "inkcap"
| "vishnu"
| "generateText"
| "generateMedia"
| "buyApps"
| "browseBazaar"
| "agent"
| "list"
| "chat"
| "read"
| "readConversations"
| "listAgents"
| "createAgents"
| "sendPrompts"
| "write"
| "run"
| "connected"
| "working"
| "complete"
| "installApps"
| "restricted"
| "error"
| "trellis"
| "games"
| "oyster"
| "tourtois"
| "allApps"
| "browser"
| "internet"
| "members"
| "sell"
| "schedule"
| "fungi";

Check an App declaration’s icon against the maintained Sigil vocabulary.

Parameter Type
name string

name is “search” | “bonsai” | “computer” | “prints” | “inkcap” | “vishnu” | “generateText” | “generateMedia” | “buyApps” | “browseBazaar” | “agent” | “list” | “chat” | “read” | “readConversations” | “listAgents” | “createAgents” | “sendPrompts” | “write” | “run” | “connected” | “working” | “complete” | “installApps” | “restricted” | “error” | “trellis” | “games” | “oyster” | “tourtois” | “allApps” | “browser” | “internet” | “members” | “sell” | “schedule” | “fungi”


Signature
function Sigil(__namedParameters): Element;

Decorative identities; the enclosing control owns its accessible name.

Parameter Type
__namedParameters { name: | "search" | "bonsai" | "computer" | "prints" | "inkcap" | "vishnu" | "generateText" | "generateMedia" | "buyApps" | "browseBazaar" | "agent" | "list" | "chat" | "read" | "readConversations" | "listAgents" | "createAgents" | "sendPrompts" | "write" | "run" | "connected" | "working" | "complete" | "installApps" | "restricted" | "error" | "trellis" | "games" | "oyster" | "tourtois" | "allApps" | "browser" | "internet" | "members" | "sell" | "schedule" | "fungi"; size?: number; }
__namedParameters.name | "search" | "bonsai" | "computer" | "prints" | "inkcap" | "vishnu" | "generateText" | "generateMedia" | "buyApps" | "browseBazaar" | "agent" | "list" | "chat" | "read" | "readConversations" | "listAgents" | "createAgents" | "sendPrompts" | "write" | "run" | "connected" | "working" | "complete" | "installApps" | "restricted" | "error" | "trellis" | "games" | "oyster" | "tourtois" | "allApps" | "browser" | "internet" | "members" | "sell" | "schedule" | "fungi"
__namedParameters.size? number

Element