From 88d86f40bfd913edef99a70873c355a8e0958ace Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Mon, 12 Jan 2026 09:00:23 +0100 Subject: [PATCH 1/2] feat(fonts): export googleicons provider --- .../en/reference/experimental-flags/fonts.mdx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/content/docs/en/reference/experimental-flags/fonts.mdx b/src/content/docs/en/reference/experimental-flags/fonts.mdx index 7db23256e0a85..8fc57a9eb974d 100644 --- a/src/content/docs/en/reference/experimental-flags/fonts.mdx +++ b/src/content/docs/en/reference/experimental-flags/fonts.mdx @@ -161,6 +161,7 @@ The following providers have built-in support: - [Fontshare](https://www.fontshare.com/) - [Fontsource](https://fontsource.org/) - [Google](https://fonts.google.com/) +- [Google Icons](https://fonts.google.com/icons) To use a built-in remote provider, configure `provider` with the appropriate value for your chosen font provider: @@ -218,6 +219,28 @@ provider: fontProviders.google({ + + +

+ +

+ +```js +provider: fontProviders.googleicons() +``` + +Additionally, the `google()` font provider accepts all options available for the [unifont Google Icons options](https://github.com/unjs/unifont/#options-2): + +```js +provider: fontProviders.googleicons({ + glyphs: { + "Material Symbols Outlined": ["arrow_right", "favorite", "arrow_drop_down"] + } +}) +``` + +
+ ## Usage examples From e53571536e7185bbba3499a27e1acc01e99e543f Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Mon, 12 Jan 2026 11:42:23 +0100 Subject: [PATCH 2/2] Update src/content/docs/en/reference/experimental-flags/fonts.mdx Co-authored-by: Chris Swithinbank --- src/content/docs/en/reference/experimental-flags/fonts.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/en/reference/experimental-flags/fonts.mdx b/src/content/docs/en/reference/experimental-flags/fonts.mdx index 8fc57a9eb974d..e67a37fb0a53e 100644 --- a/src/content/docs/en/reference/experimental-flags/fonts.mdx +++ b/src/content/docs/en/reference/experimental-flags/fonts.mdx @@ -229,7 +229,7 @@ provider: fontProviders.google({ provider: fontProviders.googleicons() ``` -Additionally, the `google()` font provider accepts all options available for the [unifont Google Icons options](https://github.com/unjs/unifont/#options-2): +Additionally, the `googleicons()` font provider accepts all options available for the [unifont Google Icons options](https://github.com/unjs/unifont/#options-2): ```js provider: fontProviders.googleicons({