From 85cca22d71f4d65237d4217f4c6b8b9aea552afa Mon Sep 17 00:00:00 2001 From: Lea Verou Date: Fri, 2 May 2025 12:59:43 -0400 Subject: [PATCH] Update docs/docs/components/icon.md Co-authored-by: Cory LaViska --- docs/docs/components/icon.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/components/icon.md b/docs/docs/components/icon.md index c761306f8..071913aaf 100644 --- a/docs/docs/components/icon.md +++ b/docs/docs/components/icon.md @@ -183,7 +183,7 @@ Custom icons can be loaded individually with the `src` attribute. Only SVGs on a You can register additional icons to use with the `` component through icon libraries. Icon files can exist locally or on a CORS-enabled endpoint (e.g. a CDN). There is no limit to how many icon libraries you can register and there is no cost associated with registering them, as individual icons are only requested when they're used. -Web Awesome ships with one built-in icon library, `default`. +Web Awesome ships with one built-in icon library: `default`. The [default icon library](#customizing-the-default-library) is provided courtesy of [Font Awesome](https://fontawesome.com/). To register an additional icon library, use the `registerIconLibrary()` function that's exported from `dist/webawesome.js`. At a minimum, you must provide a name and a resolver function. The resolver function translates an icon name to a URL where the corresponding SVG file exists. Refer to the examples below to better understand how it works.