Package-level declarations
Types
CSS formatting: "expanded", "compact" or "compressed".
CSS rule set before formatting.
CSS currentColor.
Emoji match in text.
Item that has an emoji sequence and optionally a keyword.
Entry from emoji-test.txt from unicode.org.
Icon customisations with all values resolved.
Icon with all optional properties resolved.
CSS color function that is not parsed, such as oklch().
Options for generating CSS for one icon as pseudo-element content.
Selector options for content CSS generation for one icon.
Options for generating CSS for an icon set as pseudo-element content.
Options shared by content CSS generation for one icon and for an icon set.
CSS formatting options.
Options for generating CSS for one icon as background or mask.
Selector options for CSS generation for one icon.
Options for generating CSS for an icon set as background or mask.
How icons are rendered in CSS: "mask" or "background".
Rendering mode.
Selector options for CSS generation for an icon set.
Options shared by CSS generation for one icon and for an icon set.
Attributes of a generated <svg> element.
Result of building an SVG from an icon.
Icon customisations: size and transformations.
Icon name split into parts.
Icon size customisations.
Options for the icon loader.
Options for validateIconSet.
Icon set information in the legacy format used by the Iconify API and collections.json.
SVG split into element attributes and inner content.
Emoji mapped to an icon.
Result of preparing emojis for matching in text.
Result of splitting definitions from SVG content.
SVG viewBox: [x, y, width, height].
Fully transparent color.
Options for formatting emoji code points as a string.
Properties
CSS color keywords, keyed by name.
Default values for all properties of ExtendedIconifyIcon: defaultIconProps, an empty body and hidden set to false.
Default icon customisations: no size, no rotation, no flips.
Default dimensions: left and top 0, width and height 16.
Default dimensions and transformations.
Default size customisations: width and height set to null.
Default transformations: no rotation, no flips.
Expression matching a valid icon name part.
Optional properties copied when extracting icons: left, top, width, height and provider.
Functions
Convert parsed SVG content to SVG attributes and body.
Calculate the second dimension when only one dimension is set.
Convert a camelCase string to kebab-case: fooBar becomes foo-bar.
Prepare an HTML string for innerHTML assignment.
Clear the ID counter cache used by replaceIDs.
Convert an RGB color to a hex string.
Convert a parsed color back to a CSS string.
Compare two parsed colors.
Compare two objects.
Convert an emoji sequence to UTF-16 code units.
Convert icon set information from the legacy format used by the Iconify API and collections.json to IconifyInfo.
Convert parsed SVG content to an icon.
Create an optimised regular expression source for emojis.
Create an optimised regular expression source for emoji sequences.
Encode an SVG for use in a CSS url().
Expand a minified icon set in place.
Replace emojis in text.
Find emojis missing from sequences by looking them up in emoji test data.
Apply a flip string to customisations.
Get an icon from an inline collection or a custom loader function.
Convert a hexadecimal code string to a code point.
Parse an emoji sequence string into code points.
Convert an emoji sequence to a keyword-style string, without options.
Convert an emoji sequence to a hexadecimal string.
Convert a code point, or a hexadecimal code string, to a Unicode string.
Convert a code point to a hexadecimal string.
Generate CSS for one icon, rendered as pseudo-element content.
Generate CSS for one icon, rendered as background or mask.
Get icon data from an icon set, resolving aliases and filling in defaults.
Extract a subset of icons from an icon set.
Generate CSS for icons from an icon set, rendered as pseudo-element content.
Generate CSS for icons from an icon set, rendered as background or mask.
Parent icons for each icon.
Possible icon names for a name that may use a different naming convention, from the most specific to the most generic.
Convert an emoji sequence to its qualified form, adding variation selectors where required.
Convert emoji sequences to their qualified forms, removing duplicates.
Convert an emoji sequence or keyword to code points.
Parse a viewBox string such as "0 0 24 24".
Remove emoji variation selectors, U+FE0F, from a sequence.
Build an <svg> string from a body and attributes.
Generate SVG attributes and body from an icon and customisations.
Check whether a UTF-16 code unit is part of a surrogate pair.
Load an icon from a custom collection registered in IconifyLoaderOptions.customCollections.
Center an icon in a square viewBox, keeping it at its original size.
Center a viewBox in a square one, keeping the original size.
Convert customisations to a full set of values.
Merge an icon and its alias, or default values and an icon.
Apply customisations and extra properties to an SVG string.
Merge transformations.
Merge a UTF-16 surrogate pair into one code point.
Minify an icon set in place.
Parse the contents of emoji-test.txt from unicode.org.
Invoke callback for each icon in the icon set.
Asynchronous version of parseIconSet: awaits each callback before processing the next icon.
Extract attributes and content from an SVG string.
Prepare the chars of an icon set for matching emojis in text.
Prepare an emoji to icon name map for matching emojis in text.
Pretty-print SVG content.
Quick validation of an icon set.
Replace IDs in an SVG body with unique IDs, updating their references.
Parse a rotation string such as "90deg", "25%" or "1" into a number of 90 degree rotations, normalised to 0..3.
Remove characters that would break an XML attribute: <, > and &.
Search for an icon in an icon set, trying names from ids in order.
Extract non-nestable definitions, such as masks and clip paths, from SVG content.
Split a code point above U+FFFF into a UTF-16 surrogate pair.
Parse a CSS color string: a hex color, a color keyword, or an rgb, hsl, lab or lch function.
Convert a string such as mdi:home, @provider:mdi:home or mdi-home to an icon name object.
Remove properties that are identical in both objects.
Check whether an icon name is valid: the prefix must not be empty, unless allowSimpleName is set, and the name must not be empty.
Validate an icon set, optionally fixing it.