The set could not be loaded ({error}).
; + if (!set) returnLoading the set…
; + + const brands = set.icons.filter((i) => i.brand).length; + const hqCount = set.icons.filter((i) => i.hq).length; + const terminal = filters.view !== "svg"; + const active = filters.q || filters.category || filters.kind; + + return ( +
+ What icon("{current?.key ?? "mail"}") prints in hqtui with the glyph mode set to{" "}
+ {filters.view}
+ {filters.view === "nerd" ? " (Nerd Font symbols served subset from this page)" : ""}.
+
Nothing matches. Try an alias (email, trash) or fewer words.
+ ) : ( +LogicSRC standards surface
++ An icon set as a folder, and the first one that knows what to draw in a terminal: SVG in a browser, a + Nerd Font glyph in a patched terminal, a Unicode symbol in a plain one, ASCII over a serial line. +
++ Every interface needs the same few hundred icons, and every set names them differently: Lucide's mail + is Font Awesome's envelope is Material's email. Brand logos sit beside drawn icons as if a + trademark were just another shape. And no set says what an icon should be when there are no pixels, so + TUIs hard-code a Nerd Font codepoint and show a box everywhere else. +
++ Status: 0.1. A sibling of OpenEmoji. +
++ 259 icons drawn on a 24x24 grid with 2px strokes, and 111 brand logos from Simple Icons and Font Awesome + Free. Search by name, alias or keyword, filter by category or brand, and switch between the SVG and the + glyph a terminal gets (Nerd Font, Unicode, ASCII). Click one for its glyphs, SVG and downloads. The files + are in profullstack/openicon. +
+What a TUI draws, best first. Your browser probably has no Nerd Font, so that column shows the codepoint.
+| Icon | +Nerd Font | +Unicode | +ASCII | +
|---|---|---|---|
+ {key}
+ |
+
+ {nerd}
+ |
+ {unicode} | +
+ {ascii}
+ |
+
openicon.json, trimmed to a drawn icon and a brand logo.
+{EXAMPLE}
+ Every one of them degrades rather than fails.
+| Rule | +What it means | +
|---|---|
| + + {index + 1}. {rule} + + | +{meaning} | +
| + {what} + | +{why} | +
+ icon in profullstack/cli-tools{" "}
+ builds the set; hqtui ships it as its default icon pack.
+
{`icon build --out ./openicon # openicon.json, svg/, png/, sprite.svg
+icon glyph mail # the best glyph this terminal can draw
+
+// hqtui
+import { icon } from "@profullstack/hqtui";
+icon("mail"); // "\\u{f01f0}", "✉" or "@"`}
+