Loading...
Loading...
Use and find Hugeicons icons in any framework — React, Vue, Svelte, Angular, React Native, and Flutter. Covers installation, rendering, props, icon naming, and the full icon catalog. Use whenever a project depends on @hugeicons/*, @hugeicons-pro/*, or the Flutter hugeicons package and you need to add, render, or pick an icon.
npx skill4agent add hugeicons/hugeicons hugeicons⚠️ Read this first: grep the icon lists, never read them whole
The reference files underlist thousands of icons and run tens of thousands of tokens each. Never open one in full — alwaysreferences/for a keyword and copy the exact match:grepbashgrep -i search references/icon-list.md # JS frameworks grep -i home references/icon-list-flutter.md # FlutterDo not rely on memory for icon names — a guessed name may not exist, or may exist but be the wrong glyph (e.g.is quote marks, not the bracket you wanted). Grep, confirm, copy.LeftToRightBlockQuoteIcon
| Framework | Detect by | Component |
|---|---|---|
| React | | |
| Vue | | |
| Svelte | | |
| Angular | | |
| React Native | | |
| Flutter | | |
@hugeicons/*@hugeicons/core-free-iconshugeiconsHugeIcons.*List<List<dynamic>>IconDataHugeIconIconKeep generated code minimal:is the only required prop. Don't write props that just repeat the component's default value (e.g.icon,size={24},color="currentColor") — pass a prop only when overriding a default. The defaults are listed in each props table below.strokeWidth={1.5}
npm install @hugeicons/react @hugeicons/core-free-iconsimport { HugeiconsIcon } from '@hugeicons/react';
import { Search01Icon } from '@hugeicons/core-free-icons';
function App() {
// Only `icon` is required; pass other props only to override a default.
return <HugeiconsIcon icon={Search01Icon} />;
}| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | The main icon to display (a named export from an icon package) |
| | - | Alternative icon for states, interactions, or dynamic swapping |
| | false | When true, displays |
| | 24 | Icon size in pixels |
| | currentColor | Icon color (any CSS color value) |
| | 1.5 | Width of the icon strokes |
| | false | When true, stroke width is scaled relative to icon size |
| | - | Primary color for multicolor Pro icons (Bulk, Duotone, Twotone) |
| | - | Secondary color for multicolor Pro icons |
| | false | Disables default opacity applied to the secondary color |
| | - | Additional CSS classes |
npm install @hugeicons/vue @hugeicons/core-free-icons<script setup>
import { HugeiconsIcon } from '@hugeicons/vue'
import { Search01Icon } from '@hugeicons/core-free-icons'
</script>
<template>
<!-- Only :icon is required; pass other props only to override a default. -->
<HugeiconsIcon :icon="Search01Icon" />
</template>| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | The main icon to display (a named export from an icon package) |
| | - | Alternative icon for states, interactions, or animations |
| | false | When true, displays |
| | 24 | Icon size in pixels |
| | currentColor | Icon color (any CSS color value) |
| | 1.5 | Width of the icon strokes |
| | - | Additional CSS classes |
npm install @hugeicons/svelte @hugeicons/core-free-icons<script>
import { HugeiconsIcon } from '@hugeicons/svelte'
import { Search01Icon } from '@hugeicons/core-free-icons'
</script>
<!-- Only icon is required; pass other props only to override a default. -->
<HugeiconsIcon icon={Search01Icon} />| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | The main icon to display (a named export from an icon package) |
| | - | Alternative icon for states, interactions, or animations |
| | false | When true, displays |
| | 24 | Icon size in pixels |
| | currentColor | Icon color (any CSS color value) |
| | 1.5 | Width of the icon strokes |
| | - | Additional CSS classes |
npm install @hugeicons/angular @hugeicons/core-free-iconsNote: The component is, rendered via theHugeiconsIconComponentselector. Import the icon in the component class and bind it with<hugeicons-icon>.[icon]
// example.component.ts
import { Component } from '@angular/core'
import { HugeiconsIconComponent } from '@hugeicons/angular'
import { Search01Icon } from '@hugeicons/core-free-icons'
@Component({
selector: 'app-example',
standalone: true,
imports: [HugeiconsIconComponent],
// Only [icon] is required; bind other props only to override a default.
template: `<hugeicons-icon [icon]="searchIcon" />`,
})
export class ExampleComponent {
searchIcon = Search01Icon
}| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | The main icon to display (a named export from an icon package) |
| | - | Alternative icon for states, interactions, or animations |
| | false | When true, displays |
| | 24 | Icon size in pixels |
| | currentColor | Icon color (any CSS color value) |
| | 1.5 | Width of the icon strokes |
| | - | Additional CSS classes |
npm install @hugeicons/react-native @hugeicons/core-free-iconsNote: Color defaults to(not#000000) because React Native has no CSS color inheritance.currentColor
import { HugeiconsIcon } from '@hugeicons/react-native'
import { Search01Icon } from '@hugeicons/core-free-icons'
export default function App() {
// Only `icon` is required; pass other props only to override a default.
return <HugeiconsIcon icon={Search01Icon} />
}| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | The main icon to display (a named export from an icon package) |
| | - | Alternative icon for states, interactions, or animations |
| | false | When true, displays |
| | 24 | Icon size in pixels |
| | #000000 | Icon color (color string) |
| | 1.5 | Width of the icon strokes |
flutter pub add hugeiconsNote: Flutter bundles the icon data directly:constants areHugeIcons.*SVG path data, notList<List<dynamic>>. Render withIconData, never Flutter'sHugeIcon.Icon
import 'package:hugeicons/hugeicons.dart';
// Only `icon` is required; color and size fall back to the ambient IconTheme.
// Pass color/size only to override those defaults.
HugeIcon(
icon: HugeIcons.strokeRoundedHome01,
color: Colors.black,
)| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | The icon data (a |
| | IconTheme color | Icon color; falls back to the ambient |
| | 24.0 | Icon size in logical pixels; falls back to |
| | - | Stroke thickness for stroke-style icons |
IconSearch01IconHome01IconNotification03Icon1st-bracketFirstBracketIcon3d-viewThreeDViewIcon@hugeicons/core-free-iconsHugeIcons.strokeRounded<Name>HugeIcons.strokeRoundedSearch01010203@hugeicons/core-free-icons@hugeicons-pro/core-stroke-rounded@hugeicons-pro/core-stroke-sharp@hugeicons-pro/core-stroke-standard@hugeicons-pro/core-solid-rounded@hugeicons-pro/core-solid-sharp@hugeicons-pro/core-solid-standard@hugeicons-pro/core-bulk-rounded@hugeicons-pro/core-duotone-rounded@hugeicons-pro/core-duotone-standard@hugeicons-pro/core-twotone-roundediconreferences/icon-list.mdIconDataList<List<dynamic>>HugeIconIcon