main
md 25 lines 1.23 KB
Rendered Raw
1 ---
2 name: hugeicons-icons
3 description: Guidelines for finding and suggesting icons from the Hugeicons package.
4 ---
5
6 # Hugeicons Icon Reference
7
8 ## Guidelines
9
10 - **Suggestion Strategy**: When the user needs an icon, first search for a descriptive name in the `references/icon_list.md` file.
11 - **Naming Conventions**: Icons follow a `strokeRounded<Name>` pattern. For example, for a "user" icon, suggest `HugeIcons.strokeRoundedUser`.
12 - **Icon Data Type**: `HugeIcons.*` constants are `List<List<dynamic>>` SVG JSON/path data, not Flutter `IconData`. Use them with `HugeIcon`, not `Icon`.
13 - **Category Browsing**: If the user asks for a category (e.g. "settings", "navigation"), browse the corresponding names in the `icon_list.md`.
14 - **Multiple Variants**: Many icons have multiple variants (e.g., `01`, `02`, `03`). Suggest the most appropriate one based on context.
15
16 ## Example Icons
17
18 - `HugeIcons.strokeRoundedUser`: Basic user icon.
19 - `HugeIcons.strokeRoundedSettings01`: Common settings icon.
20 - `HugeIcons.strokeRoundedHome01`: Standard home icon.
21 - `HugeIcons.strokeRoundedFavorite`: Heart/favorite icon.
22
23 ## Reference
24
25 The full list of 4,553 icons is available in [icon_list.md](references/icon_list.md). Always check this file for the exact constant name.