@hugeicons/core-free-icons 3.1.1 → 3.3.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.
Files changed (79) hide show
  1. package/README.md +41 -87
  2. package/dist/cjs/index.js +280 -7
  3. package/dist/cjs/index.min.js +1 -1
  4. package/dist/esm/Activity05Icon.js +7 -0
  5. package/dist/esm/Activity05Icon.js.map +1 -0
  6. package/dist/esm/ActivityCircleIcon.js +7 -0
  7. package/dist/esm/ActivityCircleIcon.js.map +1 -0
  8. package/dist/esm/ActivitySparkIcon.js +8 -0
  9. package/dist/esm/ActivitySparkIcon.js.map +1 -0
  10. package/dist/esm/AdjustPositionIcon.js +9 -0
  11. package/dist/esm/AdjustPositionIcon.js.map +1 -0
  12. package/dist/esm/ArrowUpRightStackIcon.js +8 -0
  13. package/dist/esm/ArrowUpRightStackIcon.js.map +1 -0
  14. package/dist/esm/Calendar05Icon.js +9 -0
  15. package/dist/esm/Calendar05Icon.js.map +1 -0
  16. package/dist/esm/CalendarAnalysisIcon.js +9 -0
  17. package/dist/esm/CalendarAnalysisIcon.js.map +1 -0
  18. package/dist/esm/CalendarSyncIcon.js +9 -0
  19. package/dist/esm/CalendarSyncIcon.js.map +1 -0
  20. package/dist/esm/ChartAnalysisIcon.js +7 -0
  21. package/dist/esm/ChartAnalysisIcon.js.map +1 -0
  22. package/dist/esm/ChartCandleIcon.js +9 -0
  23. package/dist/esm/ChartCandleIcon.js.map +1 -0
  24. package/dist/esm/ChevronDoubleCloseIcon.js +7 -0
  25. package/dist/esm/ChevronDoubleCloseIcon.js.map +1 -0
  26. package/dist/esm/ClockAddIcon.js +8 -0
  27. package/dist/esm/ClockAddIcon.js.map +1 -0
  28. package/dist/esm/CollapseIcon.js +7 -0
  29. package/dist/esm/CollapseIcon.js.map +1 -0
  30. package/dist/esm/ElectricityStackIcon.js +8 -0
  31. package/dist/esm/ElectricityStackIcon.js.map +1 -0
  32. package/dist/esm/ExchangeBitcoinIcon.js +12 -0
  33. package/dist/esm/ExchangeBitcoinIcon.js.map +1 -0
  34. package/dist/esm/ExpandIcon.js +7 -0
  35. package/dist/esm/ExpandIcon.js.map +1 -0
  36. package/dist/esm/FirePitIcon.js +4 -4
  37. package/dist/esm/GoldBuyIcon.js +9 -0
  38. package/dist/esm/GoldBuyIcon.js.map +1 -0
  39. package/dist/esm/GoldSellIcon.js +8 -0
  40. package/dist/esm/GoldSellIcon.js.map +1 -0
  41. package/dist/esm/MoneyLockIcon.js +12 -0
  42. package/dist/esm/MoneyLockIcon.js.map +1 -0
  43. package/dist/esm/NextWeekIcon.js +8 -0
  44. package/dist/esm/NextWeekIcon.js.map +1 -0
  45. package/dist/esm/OptionsCallIcon.js +7 -0
  46. package/dist/esm/OptionsCallIcon.js.map +1 -0
  47. package/dist/esm/PlusMinus03Icon.js +8 -0
  48. package/dist/esm/PlusMinus03Icon.js.map +1 -0
  49. package/dist/esm/ProgressIcon.js +1 -1
  50. package/dist/esm/Radar03Icon.js +8 -0
  51. package/dist/esm/Radar03Icon.js.map +1 -0
  52. package/dist/esm/RupeeShieldIcon.js +9 -0
  53. package/dist/esm/RupeeShieldIcon.js.map +1 -0
  54. package/dist/esm/SafeBoxIcon.js +8 -0
  55. package/dist/esm/SafeBoxIcon.js.map +1 -0
  56. package/dist/esm/Scroll01Icon.js +10 -0
  57. package/dist/esm/Scroll01Icon.js.map +1 -0
  58. package/dist/esm/SecurityWarningIcon.js +8 -0
  59. package/dist/esm/SecurityWarningIcon.js.map +1 -0
  60. package/dist/esm/Shapes01Icon.js +8 -0
  61. package/dist/esm/Shapes01Icon.js.map +1 -0
  62. package/dist/esm/ShrinkDotIcon.js +10 -0
  63. package/dist/esm/ShrinkDotIcon.js.map +1 -0
  64. package/dist/esm/SquareFIcon.js +8 -0
  65. package/dist/esm/SquareFIcon.js.map +1 -0
  66. package/dist/esm/UnfoldMoreDownIcon.js +7 -0
  67. package/dist/esm/UnfoldMoreDownIcon.js.map +1 -0
  68. package/dist/esm/UnfoldMoreIcon.js +2 -2
  69. package/dist/esm/UnfoldMoreUpIcon.js +7 -0
  70. package/dist/esm/UnfoldMoreUpIcon.js.map +1 -0
  71. package/dist/esm/ViewAgendaIcon.js +7 -0
  72. package/dist/esm/ViewAgendaIcon.js.map +1 -0
  73. package/dist/esm/index.js +33 -0
  74. package/dist/esm/index.min.js +1 -1
  75. package/dist/esm/loader.native.js +34 -1
  76. package/dist/esm/loader.node.js +34 -1
  77. package/dist/esm/loader.web.js +34 -1
  78. package/dist/types/index.d.ts +67 -1
  79. package/package.json +1 -1
package/README.md CHANGED
@@ -1,95 +1,52 @@
1
1
  # @hugeicons/core-free-icons
2
2
 
3
- > Hugeicons core icon package - Raw SVG icon data for use with framework wrappers
3
+ > Hugeicons Core Free Icons Package - Beautiful and customizable icons for your applications
4
4
 
5
- ## What is Hugeicons?
6
-
7
- Hugeicons is a large icon set for modern web and mobile apps. The free package includes 4,600+ Stroke Rounded icons across 59 categories. The Pro package provides 46,000+ icons across 10 styles with multicolor support for Bulk, Duotone, and Twotone styles.
8
-
9
- ## How It Works
5
+ ![31c9262e-aeea-4403-9086-3c8b88885cab](https://github.com/hugeicons/hugeicons-react/assets/130147052/ff91f2f0-095a-4c6d-8942-3af4759f9021)
10
6
 
11
- This package (`@hugeicons/core-free-icons`) provides **raw icon data** - it contains the SVG paths and elements for each icon. To render icons in your app, you need to install the corresponding **framework wrapper**:
7
+ ## What is Hugeicons?
12
8
 
13
- | Framework | Wrapper Package |
14
- |-----------|----------------|
15
- | React | `@hugeicons/react` |
16
- | React Native | `@hugeicons/react-native` |
17
- | Vue | `@hugeicons/vue` |
18
- | Angular | `@hugeicons/angular` |
19
- | Svelte | `@hugeicons/svelte` |
9
+ Hugeicons is a comprehensive icon library designed for modern web and mobile applications. The free package includes 4,500+ carefully crafted icons in the Stroke Rounded style, while the pro version offers over 40,000+ icons across 9 unique styles.
20
10
 
21
11
  ### Key Highlights
22
-
23
- - **4,600+ Free Icons**: Stroke Rounded set across 59 categories for unlimited personal and commercial projects
24
- - **46,000+ Pro Icons, 10 Styles**: Stroke, Solid, Bulk, Duotone, and Twotone families for sharp, rounded, and standard needs
25
- - **Pixel Perfect Grid**: Built on a 24x24 grid for crisp rendering at any size
26
- - **Tree Shaking Ready**: Named exports keep bundles lean in modern bundlers
27
- - **TypeScript Support**: Full type definitions included
12
+ - **4,500+ Free Icons**: Extensive collection of Stroke Rounded icons covering essential UI elements, actions, and concepts
13
+ - **Pixel Perfect**: Every icon is crafted on a 24x24 pixel grid ensuring crisp, clear display at any size
14
+ - **Customizable**: Easily adjust colors, sizes, and styles to match your design needs
15
+ - **Tree-Shakeable**: Optimized for modern bundlers with automatic dead code elimination
16
+ - **Optimized Loading**: Individual icon imports reduce bundle size by 99%
28
17
  - **Regular Updates**: New icons added regularly to keep up with evolving design trends
29
18
 
30
- > **Looking for Pro Icons?** Check out our docs at [hugeicons.com/docs](https://hugeicons.com/docs) for detailed information about pro icons, styles, and advanced usage.
19
+ > 📚 **Looking for Pro Icons?** Check out our comprehensive documentation at [docs.hugeicons.com](https://docs.hugeicons.com) for detailed information about pro icons, styles, and advanced usage.
31
20
 
32
- ![Hugeicons Icons](https://raw.githubusercontent.com/hugeicons/react/main/assets/icons.png)
21
+ ![a40aa766-1b04-4a2a-a2e6-0ec3c492b96a](https://github.com/hugeicons/hugeicons-react/assets/130147052/f82c0e0e-60ae-4617-802f-812cdc7a58da)
33
22
 
34
23
  ## Installation
35
24
 
36
- You must install both this core package AND the wrapper for your framework:
25
+ This is a core package that provides the raw icons. To use these icons in your project, you'll need to install both this package and the corresponding framework-specific package:
37
26
 
38
27
  ```bash
39
- # React
40
- npm install @hugeicons/react @hugeicons/core-free-icons
41
-
42
- # React Native
43
- npm install @hugeicons/react-native @hugeicons/core-free-icons
44
-
45
- # Vue
46
- npm install @hugeicons/vue @hugeicons/core-free-icons
47
-
48
- # Angular
49
- npm install @hugeicons/angular @hugeicons/core-free-icons
50
-
51
- # Svelte
52
- npm install @hugeicons/svelte @hugeicons/core-free-icons
28
+ # First, install the core package
29
+ npm install @hugeicons/core-free-icons
30
+
31
+ # Then install the framework-specific package
32
+ npm install @hugeicons/react # for React
33
+ # or
34
+ npm install @hugeicons/react-native # for React Native
35
+ # or
36
+ npm install @hugeicons/vue # for Vue
37
+ # or
38
+ npm install @hugeicons/angular # for Angular
39
+ # or
40
+ npm install @hugeicons/svelte # for Svelte
53
41
  ```
54
42
 
55
43
  ## Usage
56
44
 
57
- ### React Example
58
-
59
- ```jsx
60
- import { HugeiconsIcon } from '@hugeicons/react';
61
- import { SearchIcon } from '@hugeicons/core-free-icons';
62
-
63
- function App() {
64
- return (
65
- <HugeiconsIcon
66
- icon={SearchIcon}
67
- size={24}
68
- color="currentColor"
69
- />
70
- );
71
- }
72
- ```
73
-
74
- ### Vue Example
75
-
76
- ```vue
77
- <template>
78
- <HugeiconsIcon :icon="SearchIcon" :size="24" />
79
- </template>
80
-
81
- <script setup>
82
- import { HugeiconsIcon } from '@hugeicons/vue';
83
- import { SearchIcon } from '@hugeicons/core-free-icons';
84
- </script>
85
- ```
86
-
87
45
  ### Import Methods
88
46
 
89
47
  This package now supports multiple import methods for maximum flexibility:
90
48
 
91
49
  #### 1. Static Import (Tree-shakeable)
92
-
93
50
  Best for production builds when you know which icons you need:
94
51
 
95
52
  ```javascript
@@ -97,15 +54,13 @@ import { Home01Icon, User01Icon } from '@hugeicons/core-free-icons';
97
54
  ```
98
55
 
99
56
  #### 2. Dynamic Import - Full Bundle
100
-
101
57
  Loads the entire icon library (use when you need many icons dynamically):
102
58
 
103
59
  ```javascript
104
60
  const { Home01Icon } = await import('@hugeicons/core-free-icons');
105
61
  ```
106
62
 
107
- #### 3. Dynamic Import - Individual Icons
108
-
63
+ #### 3. Dynamic Import - Individual Icons (NEW ✨)
109
64
  Loads only the specific icon you need (99% smaller bundle size):
110
65
 
111
66
  ```javascript
@@ -136,28 +91,27 @@ import { UserIcon, HomeIcon } from '@hugeicons/core-free-icons';
136
91
  // Result: Only UserIcon and HomeIcon (~1.5KB) instead of entire library (~5MB)
137
92
  ```
138
93
 
139
- - **Requirements for tree-shaking:**
140
- - Use a modern bundler (Webpack 5+, Rollup, Vite, Parcel)
141
- - Ensure your bundler has tree-shaking enabled
142
- - The package automatically sets `sideEffects: false` for optimal tree-shaking
94
+ **Requirements for tree-shaking:**
95
+ - Use a modern bundler (Webpack 5+, Rollup, Vite, Parcel)
96
+ - Ensure your bundler has tree-shaking enabled
97
+ - The package automatically sets `sideEffects: false` for optimal tree-shaking
143
98
 
144
99
  ## Features
145
100
 
146
- - **Individual Icon Imports**: Load only what you need with 99% bundle size reduction
147
- - **Tree-shakeable**: Optimized for modern bundlers
148
- - **Multiple Import Methods**: Static, dynamic bundle, or dynamic individual
149
- - **TypeScript Support**: Full type definitions included
150
- - **Framework Agnostic**: Works with any JavaScript framework
151
- - **Optimized Performance**: Lazy load icons on demand
152
- - **Customizable**: Easy to style with CSS or inline styles
153
- - **ESM & CommonJS**: Support for both module systems
154
- - **Zero Dependencies**: No external dependencies
155
- - **Regular Updates**: New icons added frequently
101
+ - 🎯 **Individual Icon Imports**: Load only what you need with 99% bundle size reduction
102
+ - 🌳 **Tree-shakeable**: Optimized for modern bundlers
103
+ - 📦 **Multiple Import Methods**: Static, dynamic bundle, or dynamic individual
104
+ - 🔷 **TypeScript Support**: Full type definitions included
105
+ - 📱 **Framework Agnostic**: Works with any JavaScript framework
106
+ - **Optimized Performance**: Lazy load icons on demand
107
+ - 🎨 **Customizable**: Easy to style with CSS or inline styles
108
+ - **ESM & CommonJS**: Support for both module systems
109
+ - 🚀 **Zero Dependencies**: No external dependencies
110
+ - 🔄 **Regular Updates**: New icons added frequently
156
111
 
157
112
  ## Framework Support
158
113
 
159
114
  Hugeicons provides dedicated packages for various frameworks:
160
-
161
115
  - [@hugeicons/react](https://www.npmjs.com/package/@hugeicons/react) - For React applications
162
116
  - [@hugeicons/react-native](https://www.npmjs.com/package/@hugeicons/react-native) - For React Native applications
163
117
  - [@hugeicons/vue](https://www.npmjs.com/package/@hugeicons/vue) - For Vue applications
@@ -172,4 +126,4 @@ TypeScript types are included and will work out of the box.
172
126
 
173
127
  ## License
174
128
 
175
- Created by Hugeicons. All rights reserved.
129
+ Created by Hugeicons. All rights reserved.