@glofonts/icons 1.7.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @glofonts/icons
2
2
 
3
- GloFonts icon library as tree-shakable React components.
3
+ GloFonts icon library. Universal by default, React as a sub-export.
4
4
 
5
5
  ## Install
6
6
 
@@ -8,10 +8,68 @@ GloFonts icon library as tree-shakable React components.
8
8
  npm install @glofonts/icons
9
9
  ```
10
10
 
11
- ## Use
11
+ ## Usage
12
+
13
+ ### Vanilla JS / any framework (default export)
14
+
15
+ The default export is an object keyed by handle. No framework required.
16
+
17
+ ```js
18
+ import icons from '@glofonts/icons';
19
+
20
+ // Look up by handle
21
+ const arrow = icons['arrow-right'];
22
+ console.log(arrow.svg); // '<svg ...>...</svg>'
23
+ console.log(arrow.name); // 'Arrow Right'
24
+ console.log(arrow.category); // 'Interface'
25
+
26
+ // Or iterate for a browse view
27
+ for (const icon of Object.values(icons)) {
28
+ document.body.insertAdjacentHTML('beforeend', icon.svg);
29
+ }
30
+ ```
31
+
32
+ Tree-shakable named exports are also available:
33
+
34
+ ```js
35
+ import { arrowRight } from '@glofonts/icons';
36
+ console.log(arrowRight.svg);
37
+ ```
38
+
39
+ ### Raw sub-export (explicit path)
40
+
41
+ Identical to the default export. Use this if you prefer to be explicit:
42
+
43
+ ```js
44
+ import icons, { arrowRight } from '@glofonts/icons/raw';
45
+ ```
46
+
47
+ ### Manifest
48
+
49
+ The same schema as the CDN manifest, so the two are interchangeable.
50
+
51
+ ```js
52
+ import manifest from '@glofonts/icons/json';
53
+ console.log(manifest.version); // 'v1.4.0'
54
+ console.log(manifest.count); // 42
55
+
56
+ for (const icon of manifest.icons) {
57
+ console.log(icon.handle, icon.category, icon.tags);
58
+ }
59
+ ```
60
+
61
+ Or fetch the raw file:
62
+
63
+ ```js
64
+ import manifest from '@glofonts/icons/json/manifest.json';
65
+ ```
66
+
67
+ ### React
68
+
69
+ React components are in the `/react` sub-export. Tree-shakable by default.
12
70
 
13
71
  ```jsx
14
- import { ArrowRight, Vibeo } from '@glofonts/icons';
72
+ import { ArrowRight, Vibeo } from '@glofonts/icons/react';
15
73
 
16
74
  export function MyComponent() {
17
75
  return (
@@ -23,14 +81,39 @@ export function MyComponent() {
23
81
  }
24
82
  ```
25
83
 
26
- Every icon accepts:
27
- - size (number | string) — width and height. Defaults to 24.
28
- - color (string) — sets the SVG's color. Defaults to currentColor.
29
- - title (string) — accessible label. When present, adds a <title> element.
30
- - All standard SVG props are forwarded.
84
+ Every React component accepts:
85
+ - `size` (number | string) — width and height. Defaults to `24`.
86
+ - `color` (string) — sets the SVG's `color`, which the icon uses via `currentColor`. Defaults to `currentColor`.
87
+ - `title` (string) — accessible label. When present, adds a `<title>` element.
88
+ - All standard SVG props.
89
+
90
+ ## Package layout
91
+
92
+ ```text
93
+ @glofonts/icons → raw (default export)
94
+ @glofonts/icons/raw → same thing, explicit
95
+ @glofonts/icons/json → manifest (schema matches the CDN)
96
+ @glofonts/icons/react → React components
97
+ ```
98
+
99
+ ## Compatibility
100
+
101
+ - The default export and `/raw` and `/json` work in any modern JS environment: browser, Node 20+, Bun, Deno, Vite, Webpack, Rollup, esbuild.
102
+ - The `/react` sub-export requires React 16.8+ (hooks are not used, but the JSX transform assumes React 17+ or a compatible runtime).
103
+
104
+ ## CDN alternative
105
+
106
+ Every icon in every release is also available as a raw `.svg` file on the GloFonts CDN, and the manifest is served from there too:
107
+
108
+ ```text
109
+ https://glofonts-cdn.pages.dev/manifest.json
110
+ https://glofonts-cdn.pages.dev/icons/{handle}.svg
111
+ ```
112
+
113
+ The CDN requires no install and always serves the latest release. Use whichever fits your build.
31
114
 
32
115
  ## License
33
116
 
34
117
  MIT.
35
118
 
36
- **Brand Disclaimer:** Brand logos and product marks are trademarks of their respective owners. The MIT license covers the code representation of these icons, but does not grant any trademark usage rights. Please do not use brand logos for any purpose except to represent the company, product, or service to which they refer.
119
+ **Brand Disclaimer:** Brand logos and product marks are trademarks of their respective owners. The MIT license covers the code representation of these icons, but does not grant any trademark usage rights. Please do not use brand logos for any purpose except to represent the company, product, or service to which they refer.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  // Auto-generated by scripts/build-npm-package.mjs
2
- // Do not edit by hand.
3
-
4
- export { default as Vibeo } from './Vibeo';
2
+ export { default } from './raw';
3
+ export * from './raw';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Auto-generated by scripts/build-npm-package.mjs
2
- // Do not edit by hand. Every icon is re-exported as a named export.
3
-
4
- export { default as Vibeo } from './Vibeo.jsx';
2
+ // Root export = raw (universal). React users should import from "@glofonts/icons/react".
3
+ export { default } from './raw/index.js';
4
+ export * from './raw/index.js';
@@ -0,0 +1,22 @@
1
+ // Auto-generated by scripts/build-npm-package.mjs
2
+
3
+ export interface GloFontsManifestIcon {
4
+ handle: string;
5
+ name: string;
6
+ description: string;
7
+ category: string;
8
+ tags: string[];
9
+ path: string;
10
+ assetType: "brand" | "icon";
11
+ bytes: number;
12
+ }
13
+
14
+ export interface GloFontsManifest {
15
+ version: string;
16
+ generatedAt: string;
17
+ count: number;
18
+ icons: GloFontsManifestIcon[];
19
+ }
20
+
21
+ declare const manifest: GloFontsManifest;
22
+ export default manifest;
@@ -0,0 +1,3 @@
1
+ // Auto-generated by scripts/build-npm-package.mjs
2
+ import manifest from './manifest.json' with { type: 'json' };
3
+ export default manifest;
@@ -0,0 +1 @@
1
+ {"version":"v2.0.0","generatedAt":"2026-10-03T19:09:49.144Z","count":1,"icons":[{"handle":"vibeo","name":"vibeoks","description":"","category":"General","tags":[],"path":"/icons/vibeo.svg","assetType":"brand","bytes":16997}]}
@@ -0,0 +1,18 @@
1
+ // Auto-generated by scripts/build-npm-package.mjs
2
+
3
+ export interface GloFontsIcon {
4
+ handle: string;
5
+ name: string;
6
+ description: string;
7
+ category: string;
8
+ tags: string[];
9
+ path: string;
10
+ assetType: "brand" | "icon";
11
+ bytes: number;
12
+ svg: string;
13
+ }
14
+
15
+ declare const icons: Record<string, GloFontsIcon>;
16
+ export default icons;
17
+
18
+ export const vibeo: GloFontsIcon;
@@ -0,0 +1,10 @@
1
+ // Auto-generated by scripts/build-npm-package.mjs
2
+ // Do not edit by hand.
3
+
4
+ const icons = {
5
+ "vibeo": {"handle":"vibeo","name":"vibeoks","description":"","category":"General","tags":[],"path":"/icons/vibeo.svg","assetType":"brand","bytes":16997,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" viewBox=\"0 0 1080 1080\" preserveAspectRatio=\"xMidYMid meet\">\n<path d=\"M0,0C330,0,660,0,995,0c31.67,0,58.33,0,85,0c0,330,0,660,0,995c0,31.67,0,58.33,0,85c-330,0-660,0-995,0c-31.67,0-58.33,0-85,0C0,750,0,420,0,85C0,53.33,0,26.67,0,0Z\" fill=\"var(--icon-fill, #0AD0B7)\"/>\n<path d=\"M507.5,66.81c.42,0,.42,0,2.53,0c17.66,0,34.99,.91,52.47,3.44c.77,.11,1.54,.22,2.33,.33c18.71,2.66,37.48,5.64,55.64,10.97c1.05,.31,2.09,.61,3.14,.9c12.7,3.54,25.17,8.01,37.53,12.6c1.01,.38,2.03,.75,3.05,1.13c6.04,2.22,11.83,4.73,17.55,7.68c2.45,1.23,4.92,2.31,7.44,3.37c13.05,5.55,25.53,12.04,37.62,19.44c2.34,1.42,4.7,2.8,7.07,4.17c11.55,6.75,22.44,14.11,33.13,22.16c.6,.45,1.21,.9,1.83,1.37c7.84,5.86,15.38,12.05,22.79,18.44c1.15,.99,2.3,1.97,3.45,2.95C809.85,188.47,824.48,202.03,837,217c.82,.96,1.65,1.92,2.47,2.88C854.43,237.32,867.68,255.62,880,275c0,.99,0,1.98,0,3c.66,0,1.32,0,2,0c.41,.73,.82,1.46,1.24,2.22c1.52,2.73,3.05,5.46,4.58,8.19c.66,1.17,1.31,2.35,1.97,3.53c.95,1.7,1.9,3.4,2.85,5.1c.3,.52,.59,1.05,.89,1.58c1.32,2.38,2.67,4.73,4.09,7.05c1.1,1.85,2,3.58,2.79,5.58c1.14,2.74,2.37,5.42,3.68,8.1c4.31,8.86,8.24,17.65,11.35,27.01c1.5,4.39,3.17,8.71,4.92,13.01c4.63,11.56,7.71,23.47,10.83,35.5c.73,2.84,1.49,5.67,2.26,8.5c9.15,33.77,11.73,67.75,11.74,102.63c0,.94,0,1.87,0,2.84c0,10.27-.18,20.52-.64,30.79c-.02,.44-.02,.44-.12,2.67c-.04,.82-.08,1.64-.12,2.49c-.04,.72-.07,1.44-.11,2.18c-.21,2.09-.68,4-1.2,6.03c-.09,1.4-.18,2.8-.24,4.21C941.16,593.34,929.89,635.08,915,668c-.39,.87-.78,1.73-1.18,2.63c-2.16,4.81-4.34,9.61-6.55,14.4c-1.33,2.88-2.62,5.77-3.85,8.7c-1.47,3.47-3.19,6.77-4.98,10.08c-.35,.64-.69,1.28-1.04,1.93c-.75,1.38-1.49,2.75-2.23,4.11c-.79,1.45-1.57,2.9-2.36,4.35c-5.39,10.02-11.16,19.59-17.58,28.98c-2.48,3.67-4.83,7.42-7.19,11.17c-1.64,2.58-3.31,5.05-5.24,7.42C861,764,861,764,860,766c-.66,0-1.32,0-2,0c-.25,.72-.49,1.44-.75,2.18c-1.25,3.11-3.14,5.42-5.31,7.95c-.82,.97-1.65,1.95-2.47,2.93c-.41,.49-.83,.98-1.26,1.49c-1.11,1.33-2.2,2.68-3.28,4.05c-14.53,18.36-31.94,37.12-50.52,51.49c-2.18,1.68-4.16,3.52-6.16,5.42c-7.12,6.74-15.05,12.3-23.05,17.94c-2.02,1.42-4.02,2.87-6.01,4.32c-5.7,4.15-11.45,8.14-17.44,11.86c-.55,.34-1.1,.68-1.67,1.04c-1.33,.81-2.71,1.58-4.08,2.33c-.66,0-1.32,0-2,0c0,.66,0,1.32,0,2c-.24,.12-.24,.12-1.47,.71c-5.68,2.8-11.16,5.89-16.62,9.11c-4.2,2.42-8.17,4.11-12.91,5.18c0,.66,0,1.32,0,2c-7.63,3.43-15.3,6.74-23,10c-.45,.19-.9,.38-1.37,.58c-3.11,1.32-6.23,2.63-9.35,3.94c-1.05,.44-2.1,.88-3.14,1.32c-18.07,7.63-18.07,7.63-24.7,7.35c-.85-.03-1.7-.06-2.57-.08c-2.11-.12-2.7-.54-4.49-1.61c-4.07-2.69-6.8-6.41-9.38-10.5c-1.71-5.14-1.12-10.49-1.13-15.87c0-2.74,0-5.48-.01-8.3c0-2.99,0-5.97,0-9.04c-.02-6.28-.04-12.56-.06-18.84c-.03-9.93-.05-19.86-.05-29.79c0-9.56-.04-19.13-.08-28.69c.01-1.47,.01-1.47,.02-8.94c-.09-15.38-1.27-28.82-5.69-43.53c-.68-3.33-1.35-6.66-2-10c-1.44-4.5-1.44-4.5-2.22-6.72c-.82-2.4-1.49-4.83-2.15-7.28c-1.5-5.1-3.87-9.48-6.63-14c-3.01,1.34-5,2.8-7.25,5.19c-3.05,3.14-6.22,6.03-9.54,8.87c-1.6,1.4-3.12,2.81-4.64,4.29C576.6,733.08,568.83,738.88,560,743c-.66,0-1.32,0-2,0c-.33,.99-.66,1.98-1,3c-17.99,7.01-35.01,9.71-54.42,7.76c-8.54-1.14-16.67-3.33-24.58-6.76c-.9-.39-1.81-.77-2.74-1.17c-14.76-6.64-27.02-16.94-38.09-28.58c-6.28-6.56-6.28-6.56-9.81-7.85c-.23-.07-.23-.07-1.36-.4c-.11,.68-.21,1.36-.32,2.06c-.71,3.51-2.12,6.71-3.49,10c-4.31,10.59-7.66,20.59-9.19,31.94c-.91,.48-1.83,.96-2.75,1.44c-.51,.26-1.02,.53-1.55,.81c-7.42,3.28-16.8,2.3-24.7,1.75c-9.76-1.24-19.16-4.48-27.41-9.86c-4.94-3.55-9.31-7.84-13.59-12.14c-.7,.02-1.4,.03-2.12,.05c-2.65,.05-5.3,.09-7.96,.11c-1.13,.02-2.27,.04-3.41,.07c-10.01,.22-18.21-1.41-27.51-5.23c.76,10.02,5.81,18.6,11,27c5.16,7.75,11.17,14.69,18,21c0,.66,0,1.32,0,2c-16.98,.25-32.68-2.14-47.94-9.81c-1.36-.72-2.71-1.45-4.06-2.19c.22,.55,.43,1.11,.66,1.68c.27,.72,.55,1.45,.84,2.2c.28,.71,.56,1.43,.84,2.17C282,776,282,776,282,778c.66,0,1.32,0,2,0c.34,.68,.68,1.36,1.03,2.05c6.67,12.96,16.4,24.7,28.3,33.21c1.87,1.28,3.76,2.52,5.67,3.74c0,.33,0,.66,0,1c-15.09,.48-29.39,.46-44-4c-.66-.33-1.32-.66-2-1c0,.66,0,1.32,0,2c.57,.26,1.13,.53,1.72,.8c2.45,1.29,4.55,2.8,6.78,4.45c14.91,10.64,33,16.75,51,19.45c15.02,1.83,30.51-.25,45.5-1.7c0-.66,0-1.32,0-2c.75-.21,1.51-.42,2.28-.63c7.45-2.13,14.46-4.86,21.51-8.08c.65-.3,1.3-.59,1.97-.9c.29-.13,.29-.13,1.75-.81C407,825,407,825,409,825c.08,11.67,.13,23.35,.16,35.02c.02,3.97,.04,7.94,.07,11.92c.03,5.7,.05,11.41,.06,17.12c.02,1.78,.03,3.55,.05,5.38c0,1.66,0,3.32,0,5.03c0,.73,0,.73,.02,4.42c-.39,4.51-1.55,7.97-3.36,12.11c-2.69,3.76-6.17,6.84-10.31,8.94c-4.53,1.54-8.96,1.45-13.69,1.06c-3.56-.71-6.99-1.65-10.46-2.72c-1.53-.47-3.07-.91-4.62-1.35c-5.92-1.74-11.22-3.93-16.7-6.8c-2.91-1.48-5.87-2.55-8.97-3.57c-5-1.71-9.89-3.59-14.75-5.68c-.56-.25-1.13-.49-1.71-.74c-5.6-2.44-10.93-5.17-16.16-8.33c-4.73-2.81-9.57-5.32-14.5-7.75c-11.79-5.81-22.82-12.3-33.53-19.93c-1.59-1.12-3.2-2.22-4.81-3.31c-7.65-5.19-14.96-10.73-22.17-16.52c-1.47-1.18-2.94-2.34-4.42-3.51c-5.63-4.47-10.98-9.23-16.26-14.1c-.66-.6-1.31-1.2-1.99-1.82c-.31-.28-.31-.28-1.86-1.73c-.55-.51-1.1-1.02-1.66-1.54c-1.56-1.75-2.48-3.47-3.43-5.6c-1.32-.33-2.64-.66-4-1c-.45-.48-.9-.96-1.36-1.45c-1.69-1.81-3.39-3.62-5.09-5.43c-.73-.77-1.46-1.55-2.19-2.33c-3.64-3.89-7.3-7.76-11.09-11.5c-2.84-2.82-5.46-5.73-7.96-8.85c-.38-.48-.77-.95-1.16-1.44c-2.24-2.78-4.3-5.61-6.19-8.64c-.98-1.38-2.01-2.43-3.24-3.58c-3.06-3.01-5.53-6.37-8.03-9.84c-.48-.66-.96-1.33-1.46-2.01c-3.87-5.36-7.57-10.81-11.18-16.35c-1.15-1.73-2.31-3.45-3.48-5.17c-4.89-7.2-9.46-14.48-13.68-22.09c-1.36-2.44-2.82-4.79-4.34-7.14c-2.75-4.37-4.95-8.93-7.11-13.62c-.19-.39-.19-.39-1.13-2.41c-2.16-4.61-4.25-9.26-6.31-13.93c-1-2.21-2.03-4.4-3.08-6.59c-5.62-11.88-9.8-23.86-13.62-36.41c-1.02-3.36-2.14-6.67-3.33-9.98C80.9,619.81,78.52,607.85,76,596c-.19-.91-.39-1.82-.59-2.76c-1.22-5.85-2.26-11.72-3.16-17.62c-.17-1.11-.35-2.22-.52-3.34C67.19,543.62,67.36,514.96,68,486c.02-.91,.04-1.81,.06-2.75C68.58,460.1,71.32,437.68,76,415c.13-.64,.26-1.28,.4-1.93c5.28-25.55,12.38-52.8,24.57-75.99c1.47-2.97,2.74-6.03,4.03-9.08c12.45-29.29,28.11-56.76,47.49-82.02c1.4-1.83,2.77-3.68,4.14-5.53c3.67-4.99,7.42-9.8,11.58-14.41c1.31-1.49,2.57-2.99,3.8-4.55c4.58-5.77,9.41-11.06,14.68-16.21c2.82-2.77,5.5-5.57,8.06-8.59c2.82-3.32,5.91-6.1,9.23-8.92c2.05-1.79,3.94-3.69,5.83-5.64c3.84-3.89,7.95-7.3,12.21-10.71c2.07-1.67,4.11-3.38,6.12-5.12c6.28-5.44,12.67-10.43,19.56-15.06c2.81-1.89,5.55-3.87,8.28-5.87c13.01-9.49,26.97-17.56,41.08-25.3c1.3-.72,2.61-1.44,3.91-2.17c7.1-3.95,14-7.57,21.76-10.01c2.46-.96,4.24-2.22,6.27-3.89c1.32,0,2.64,0,4,0c0-.66,0-1.32,0-2c.49-.18,.98-.37,1.49-.56c3.39-1.27,6.78-2.54,10.16-3.83c9.27-3.54,18.62-6.8,28.06-9.86c2.23-.73,4.45-1.49,6.67-2.25c19.22-6.48,39.32-10.31,59.37-13.17c2.32-.34,4.63-.72,6.94-1.1c20.6-3.39,40.97-4.41,61.81-4.42Z\" fill=\"var(--icon-fill, #000101)\"/>\n<path d=\"M283,179c2.14-.21,2.14-.21,5,0c2.05,.9,3.84,2.13,5.69,3.38c5.35,3.46,10.83,6.59,16.44,9.62c6.03,3.3,11.65,6.77,17.1,10.95c3.29,2.49,6.75,4.68,10.21,6.93c5.99,3.92,11.49,8.21,16.92,12.88c2.19,1.88,4.43,3.61,6.77,5.3c3.52,2.59,6.72,5.46,9.94,8.41c3.55,3.23,7.22,6.27,10.94,9.28c3.57,2.88,7.02,5.87,10.43,8.94C394,256,394,256,396,257c.37,.71,.73,1.41,1.11,2.14c2.11,3.52,5.08,5.98,8.14,8.67c4.98,4.49,9.45,9.04,13.75,14.19c.99,1.1,1.98,2.2,2.97,3.3c4.27,4.72,8.19,9.63,12.03,14.7c0,.66,0,1.32,0,2c.66-.17,1.31-.34,1.99-.52c20.8-5.29,41.49-10.02,63.01-10.48c.5-.01,1.01-.02,1.53-.03c21.76-.45,43.06,.77,64.6,4.03c.55,.08,1.11,.17,1.68,.25c5.57,.85,10.88,1.83,16.19,3.75c2.34,.41,2.34,.41,4.38,.63c.68,.07,1.37,.14,2.08,.22c.25,.03,.25,.03,1.54,.15c.45-.58,.9-1.17,1.36-1.77c4.75-6.07,9.81-11.78,15.06-17.43c2.02-2.18,3.97-4.41,5.89-6.67c7.24-8.34,15.23-16.25,23.66-23.38c1.6-1.38,3.15-2.78,4.69-4.22c6.41-6.01,13.03-11.56,19.98-16.92c2.49-1.92,4.93-3.9,7.34-5.92C683.93,211.15,700.38,200.2,717,190c.6-.37,1.2-.75,1.82-1.13c3.93-2.38,7.71-3.84,12.18-4.87c0-.66,0-1.32,0-2c3.02-1.75,5.34-2.96,8.88-3.19c.7,.06,1.4,.13,2.12,.19c2.97,4.12,5.12,8.2,6.94,12.94c.13,.32,.13,.32,.77,1.98c2.42,6.26,4.57,12.6,6.62,19c.74,2.29,1.49,4.58,2.24,6.86c4.9,14.99,4.9,14.99,6.03,22.63c.38,2.46,.84,4.88,1.35,7.32c3.46,17.17,4.53,33.86,4.44,51.37c-.01,3.76,0,7.52,.02,11.29c.01,14.24-.81,28.05-3.02,42.12c-.53,3.38-.99,6.77-1.44,10.16c-1.1,7.77-2.87,15.06-5.36,22.49c-1.34,4.01-2.57,8.06-3.77,12.12c-.1,.33-.1,.33-.59,1.99c-.79,2.66-1.58,5.33-2.37,7.99c-6.14,20.83-6.14,20.83-10.17,27.99c-1.41,2.99-1.79,5.39-1.72,8.64c.2,3.72,.58,7.41,1.03,11.11c.66,0,1.32,0,2,0c.23,.79,.46,1.57,.7,2.38c.87,2.94,1.74,5.89,2.61,8.83c.37,1.26,.75,2.53,1.12,3.8c.54,1.83,1.08,3.67,1.62,5.5c.17,.56,.33,1.12,.5,1.69c1.08,3.63,2.25,7.22,3.45,10.8c.39,1.37,.77,2.74,1.13,4.13c.08,.32,.08,.32,.5,1.94c.39,2.02,.43,3.88,.37,5.93c.66,0,1.32,0,2,0c.11,.58,.22,1.16,.33,1.76c.08,.39,.08,.39,.48,2.37c.15,.76,.3,1.53,.46,2.32c.59,2.07,1.2,3.57,2.19,5.44c1.65,3.15,2.5,6.3,3.35,9.74c1.6,6,3.9,11.27,6.81,16.75c1.13,2.14,2.11,4.25,3.01,6.5c.87,2.11,1.84,3.93,3.14,5.81c1.62,2.38,3.16,4.78,4.67,7.22c.42,.68,.84,1.36,1.27,2.06c.86,1.4,1.72,2.8,2.58,4.2c2.37,3.82,4.81,7.39,7.71,10.83c0,.66,0,1.32,0,2c-2.1,.63-4.21,1.26-6.31,1.88c-.58,.17-1.15,.34-1.75,.52c-9.55,2.79-18.65,3.92-28.55,3.81c-1.72-.02-3.44-.02-5.16-.02c-5.19-.03-10.12-.24-15.23-1.19c8.77,11.12,20.09,19.51,32,27c0,.66,0,1.32,0,2c-.75,.12-1.49,.23-2.26,.35c-2.77,.43-5.54,.87-8.31,1.3c-1.2,.19-2.4,.38-3.6,.57c-1.72,.26-3.44,.53-5.17,.81c-.53,.08-1.07,.16-1.62,.25c-2.22,.35-4.01,.71-6.04,1.72c-1.26,.19-2.52,.38-3.78,.54c-16.2,2.1-31.88,7-47.22,12.46c-.93,.33-1.86,.66-2.81,1c-18.73,6.67-18.73,6.67-24.73,9.48C663,642,663,642,660,642c0,.66,0,1.32,0,2c-1.32,0-2.64,0-4,0c0,.66,0,1.32,0,2c-.26,.11-.26,.11-1.59,.66c-6.36,2.72-12.29,5.99-18.22,9.53c-.49,.28-.97,.57-1.47,.87c-7.09,4.21-13.87,8.64-20.31,13.82c-1.58,1.25-3.19,2.47-4.8,3.68c-11.04,8.31-11.04,8.31-15.61,13.44c-.66,0-1.32,0-2,0c0,.66,0,1.32,0,2c-.49,.41-.98,.83-1.48,1.25c-4.3,3.71-8.35,7.52-12.3,11.6c-17.43,17.94-17.43,17.94-25.97,20.71c-4.07,.65-8.26,.67-12.37,.75c-.69,.02-1.37,.04-2.07,.06c-3.4-.01-6.09-.28-9.18-1.76c-1.94-1.07-3.01-1.99-4.63-3.61c.33-2.31,.66-4.62,1-7c.21-.18,.21-.18,1.3-1.07c1.97-1.63,3.93-3.28,5.89-4.93c.67-.55,1.34-1.11,2.04-1.68c4.61-3.91,8.01-7.91,10.77-13.32c1.5-3.89,1.43-7.88,1-12c-.79-2-1.67-3.28-3-5c-11.12-4.66-22.04-5.88-34-5c-2.9,.32-5.76,.75-8.62,1.25c-.66,.11-1.31,.22-1.98,.33c-3.97,.79-6.9,2.1-10.21,4.43c-1.19,.99-1.19,.99-2.56,2.8c-.93,3.25-1.23,5.85-.63,9.19c2.2,6.46,5.62,11.15,10.47,15.8c1.17,1.08,2.34,2.14,3.53,3.2c.19,.17,.19,.17,1.17,1.05c1.75,1.57,3.52,3.11,5.3,4.64c.87,.74,1.72,1.5,2.53,2.31c0,1.98,0,3.96,0,6c-1.98,1.32-3.96,2.64-6,4c-10.8,.44-21.02-.19-31.06-4.56c-8.14-4.5-15.33-11.34-21.24-18.44c-4.98-5.86-10.44-11.13-16.78-15.52c-1.55-1.2-2.77-2.34-4.11-3.75c-3.46-3.53-7.48-6.26-11.5-9.1c-.81-.59-1.63-1.17-2.44-1.75c-1.59-1.13-3.18-2.26-4.77-3.39c-1.68-1.19-3.35-2.39-5.01-3.61c-6.22-4.5-12.78-8.26-19.48-11.98c-1.43-.8-2.84-1.6-4.26-2.41c-3.76-2.14-7.49-4.06-11.49-5.68c-2.23-.97-4.34-2.11-6.48-3.25c-4.79-2.41-9.6-3.98-14.74-5.47c-3.28-.96-6.51-2.04-9.75-3.15C311.32,622.53,283.9,616.53,255,613c.33-.99,.66-1.98,1-3c.46-.32,.93-.63,1.4-.96c10.27-7.05,19.83-14.19,28.6-23.04c.66,0,1.32,0,2,0c0-.66,0-1.32,0-2c-.92,.16-1.84,.31-2.79,.48c-5.18,.73-10.36,.85-15.58,.9c-.54,0-1.07,.01-1.62,.01c-12.69,.07-24.72-2.42-37.01-5.39c0-1.32,0-2.64,0-4c.42-.59,.85-1.19,1.29-1.8c10.72-15.11,20.02-30.46,25.71-48.2c.99-.33,1.98-.66,3-1c.09-.45,.17-.9,.26-1.37c1.24-6.02,2.95-11.85,4.72-17.73c1.11-3.71,2.17-7.41,3.07-11.17c2.87-11.87,6.89-23.12,11.29-34.5c.12-.32,.12-.32,.73-1.91c.45-1.19,.91-2.37,1.38-3.55c1.43-3.77,1.83-6.74,1.55-10.77c-.37-1.69-.37-1.69-.87-2.99c-.19-.48-.37-.96-.55-1.45c-.1-.23-.1-.23-.58-1.43c-.19-.5-.38-1-.58-1.51c-.46-1.21-.94-2.42-1.42-3.62c-.66-.33-1.32-.66-2-1c-5.97-17.5-11.23-34.89-15-53c-.33-.33-.66-.66-1-1c-.11-.79-.22-1.57-.34-2.38c-.41-2.95-.83-5.89-1.26-8.83c-.18-1.26-.36-2.53-.54-3.8c-.26-1.83-.52-3.67-.79-5.5c-.08-.56-.15-1.12-.23-1.69c-.4-2.69-.91-5.13-1.87-7.67c-1.34-3.83-1.43-7.68-1.58-11.71c-.02-.42-.02-.42-.12-2.51c-.39-9.53-.47-19.06-.46-28.6c0-.91,0-1.83,.01-2.77c.04-22.22,1.51-42.94,7.18-64.54c.24-.92,.48-1.84,.72-2.79C273.11,195.19,273.11,195.19,283,179Z\" fill=\"var(--icon-fill, #03EACC)\"/>\n<path d=\"M297,219c.83,.17,.83,.17,5,1c.33,.99,.66,1.98,1,3c.61,.47,1.21,.95,1.84,1.43c15.92,12.52,30,26.7,42.01,43.05c1.11,1.47,2.27,2.89,3.45,4.3c6.06,7.32,10.84,15.26,15.58,23.47c.32,.56,.64,1.12,.98,1.7c7.72,13.4,7.72,13.4,10.14,20.05c0,.66,0,1.32,0,2c.66,0,1.32,0,2,0c.09,.21,.09,.21,.53,1.26c1.36,3.23,2.77,6.41,4.29,9.56c.31,.64,.62,1.28,.93,1.93c.63,1.31,1.27,2.61,1.91,3.91c.3,.63,.6,1.26,.91,1.91c.28,.57,.55,1.13,.84,1.71c.68,1.99,.69,3.63,.59,5.72c-.25,.13-.25,.13-1.54,.76c-10.31,5.14-19.91,10.42-28.76,17.84c-1.71,1.41-3.45,2.77-5.2,4.14c-5.64,4.42-10.82,9.18-15.87,14.26c-.21,.2-.21,.2-1.24,1.23c-8.5,8.51-15.73,17.74-22.39,27.77c-.99-.33-1.98-.66-3-1c-13.66-23.27-22.82-45.62-28.35-72.05c-.34-1.61-.72-3.18-1.16-4.76c-1.45-5.2-1.78-10-1.76-15.38c0-.86,0-1.72,0-2.61c0-1.81,0-3.63,.01-5.44c.01-2.72,0-5.45-.01-8.17c-.01-10.68,.58-21.04,2.27-31.59c.14-.91,.28-1.81,.43-2.74c.38-2.29,.8-4.55,1.26-6.82c.16-.82,.32-1.63,.49-2.47c1.45-6.84,3.3-13.53,5.32-20.22c.14-.48,.29-.96,.43-1.46c1.83-6.09,4.01-11.71,7.07-17.29Zm429,0c.99,.33,1.98,.66,3,1c7.62,18.23,13.38,38.25,15,58c.33,.33,.66,.66,1,1c1.17,7.03,1.16,14.03,1.13,21.13c-.01,.6-.01,1.2-.01,1.83c-.02,3.52-.05,7.05-.1,10.57c-.02,1.25-.03,2.49-.04,3.73C745.6,340.51,736.5,368.3,726,390c-.66,0-1.32,0-2,0c-.03,.33-.03,.33-.19,2c-.83,4.18-3.5,7.51-5.81,11c-.94,1.5-1.88,3-2.81,4.5c-.73,1.17-1.46,2.33-2.19,3.5c-.99-.33-1.98-.66-3-1c-2-3-4-6-6-9c0-.66,0-1.32,0-2c-.99-.33-1.98-.66-3-1c-.24-.34-.48-.67-.73-1.02c-5.81-8.05-11.99-14.97-19.53-21.45c-1.33-1.17-2.64-2.37-3.94-3.59c-5.58-5.22-11.39-9.64-17.83-13.75c-1.48-.94-2.94-1.9-4.4-2.86c-6-3.89-12.1-7.28-18.57-10.33c.54-3.09,1.17-5.72,2.64-8.5c.16-.31,.16-.31,.99-1.91c.35-.67,.7-1.34,1.06-2.03c2.29-4.45,4.5-8.87,6.36-13.51c5.82-14.61,14.11-29.31,23.86-41.64c1.31-1.69,2.56-3.42,3.82-5.16c6.19-8.49,12.76-16.31,20.01-23.91c1.64-1.74,3.17-3.57,4.7-5.4c7.79-8.99,17.15-16.72,26.56-23.94Z\" fill=\"var(--icon-fill, #000303)\"/>\n<path d=\"M226.37,656.87c1.69,.01,3.39,0,5.09-.01c8.76,0,17.15,.4,25.54,3.14c.63,.18,1.26,.36,1.91,.55c20.09,6.11,36.48,17.86,51.34,32.39c5.2,5.22,9.51,11.06,13.75,17.06c.35,.5,.71,.99,1.07,1.51c2,2.81,3.97,5.64,5.93,8.49c0,.33,0,.66,0,1c-8.97,.58-16.69-.45-25-4c-8.03-3.76-14.67-8.84-21-15c-.71,16.66,2.72,31.46,8.32,47.09c.93,2.62,1.81,5.27,2.68,7.91c.66,0,1.32,0,2,0c.33,.5,.33,.5,2,3c0,.99,0,1.98,0,3c-2.97-.99-5.94-1.98-9-3c0-.66,0-1.32,0-2c-.71-.09-1.42-.19-2.14-.28c-3.4-.85-5.7-2.26-8.55-4.22c-.52-.35-1.04-.7-1.57-1.06c-4.49-3.11-8.52-6.62-12.49-10.36c-2.3-2.18-4.75-4.13-7.25-6.08c1.97,19.22,6.17,35.96,15.13,53.06c.33,.65,.67,1.29,1.02,1.95c1.65,3.08,3.15,5.7,5.85,7.99c0,.66,0,1.32,0,2c-7.89-.66-13.94-4.48-20.48-8.65c-7.96-5.25-13.64-11.27-18.5-19.48c-4.1-7.52-6.87-15.08-8.99-23.36c-2.72-10.56-6.1-20.66-10.31-30.73c-.62-1.54-1.19-3.08-1.73-4.65c-2.94-8.33-7.98-15.8-13.97-22.27c-1.93-1.77-3.89-3.33-6.02-4.86c-.41-.3-.82-.59-1.24-.9c-9.7-6.88-19.58-10.27-31.3-11.8c-.81-.1-1.62-.2-2.46-.3c.33-.99,.66-1.98,1-3c1.77-.67,3.54-1.34,5.31-2c.5-.19,1-.38,1.52-.58c2.57-.95,4.38-1.42,7.17-1.42c0-.66,0-1.32,0-2c3.23-.99,6.47-1.97,9.7-2.94c1.1-.33,2.2-.66,3.29-.99c10.83-3.32,21.09-4.24,32.38-4.2Z\" fill=\"var(--icon-fill, #0AE89F)\"/>\n<path d=\"M359,502c29.42-.41,29.42-.41,39.52,1.69c1.53,.32,3.06,.59,4.6,.86c11.83,2.25,24.28,6.79,34.04,13.94c8.41,6.9,14.44,15.56,18.84,25.51c1.61,4.24,2.78,8.63,4,13c.13,.43,.13,.43,.76,2.61c.13,.47,.13,.47,.8,2.83c.25,.86,.5,1.73,.76,2.62c1.55,6.15,1.83,12.41,1.78,18.72c0,.7-.01,1.4-.01,2.12c0,2.2-.01,4.4-.03,6.6c0,1.51-.01,3.01-.01,4.52c-.01,3.66-.03,7.32-.05,10.98c-.33,.17-.33,.17-2,1c-.51-2.25-1-4.5-1.5-6.75c-.14-.63-.29-1.27-.43-1.92c-.69-3.16-1.27-6.07-1.07-9.33c-.66,0-1.32,0-2,0c-.1-.35-.1-.35-.59-2.12c-.26-.91-.52-1.82-.78-2.75c-.26-.91-.52-1.81-.78-2.75C454,581,454,581,452,579c-.43-1.01-.82-2.03-1.19-3.06c-2.06-4.95-5.16-9.04-8.81-12.94c-3.68-2.96-7.88-4.61-12.46-5.64c-4.06-.57-8.14-.65-12.24-.82c-7.11-.41-13.58-2.28-20.3-4.54c0-.66,0-1.32,0-2c-.41-.07-.82-.15-1.25-.23c-5.6-1.27-9.43-4.06-13.75-7.77c-7.48-6.74-12.69-14.04-17.25-22.94c-.34-.65-.68-1.31-1.03-1.99c-2.43-4.89-3.75-9.7-4.72-15.07Z\" fill=\"var(--icon-fill, #000706)\"/>\n<path d=\"M648.46,501.9c.34,0,.34,0,2.06,.01c2.14,0,4.28,.01,6.42,.03c1.46,0,2.92,.01,4.38,.01c3.56,.01,7.12,.03,10.68,.05c-.66,2.97-1.32,5.94-2,9c-.66,.66-1.32,1.32-2,2c-.77,1.87-1.47,3.71-2.12,5.63c-.19,.51-.37,1.03-.56,1.56c-.44,1.27-.88,2.54-1.32,3.81c-.66,0-1.32,0-2,0c-.27,.73-.53,1.47-.8,2.23c-2.48,6.15-7.45,11.29-12.32,15.65c-2.84,2.36-5.58,4.47-8.88,6.12c-.66,0-1.32,0-2,0c-.33,.99-.66,1.98-1,3c-10.02,3.01-19.83,5.79-30.35,6.28c-8.94,.44-8.94,.44-13.09,2.28c-5.27,3.15-8.79,7.75-12.12,12.81C575.55,582.43,572.08,593.8,569,605c-.33,0-.66,0-1,0c-.56-46.02-.56-46.02,10.91-68.81c4.66-8.66,11.39-15.72,19.34-21.44c14.37-8.95,33.43-12.98,50.21-12.85Z\" fill=\"var(--icon-fill, #000606)\"/>\n</svg>"},
6
+ };
7
+
8
+ export default icons;
9
+
10
+ export const vibeo = icons["vibeo"];
@@ -0,0 +1,3 @@
1
+ // Auto-generated by scripts/build-npm-package.mjs
2
+
3
+ export { default as Vibeo } from './Vibeo';
@@ -0,0 +1,4 @@
1
+ // Auto-generated by scripts/build-npm-package.mjs
2
+ // Do not edit by hand.
3
+
4
+ export { default as Vibeo } from './Vibeo.jsx';
package/package.json CHANGED
@@ -1,17 +1,27 @@
1
1
  {
2
2
  "name": "@glofonts/icons",
3
- "version": "1.7.0",
4
- "description": "GloFonts icon library as tree-shakable React components.",
3
+ "version": "2.0.0",
4
+ "description": "GloFonts icon library — universal by default, React as a sub-export.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": false,
8
- "main": "./dist/index.js",
9
- "module": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
11
8
  "exports": {
12
9
  ".": {
13
10
  "types": "./dist/index.d.ts",
14
11
  "import": "./dist/index.js"
12
+ },
13
+ "./raw": {
14
+ "types": "./dist/raw/index.d.ts",
15
+ "import": "./dist/raw/index.js"
16
+ },
17
+ "./json": {
18
+ "types": "./dist/json/index.d.ts",
19
+ "import": "./dist/json/index.js"
20
+ },
21
+ "./json/manifest.json": "./dist/json/manifest.json",
22
+ "./react": {
23
+ "types": "./dist/react/index.d.ts",
24
+ "import": "./dist/react/index.js"
15
25
  }
16
26
  },
17
27
  "files": [
@@ -21,13 +31,19 @@
21
31
  "peerDependencies": {
22
32
  "react": ">=16.8.0"
23
33
  },
34
+ "peerDependenciesMeta": {
35
+ "react": {
36
+ "optional": true
37
+ }
38
+ },
24
39
  "publishConfig": {
25
40
  "access": "public"
26
41
  },
27
42
  "keywords": [
28
43
  "icons",
29
44
  "svg",
45
+ "glofonts",
30
46
  "react",
31
- "glofonts"
47
+ "universal"
32
48
  ]
33
49
  }
File without changes
File without changes