Kubai Icons vs Hugeicons

Hugeicons is a large line icon library with a free set in one rounded stroke style and a paid Pro set with more styles. The Kubai line style is drawn on the same 24 grid with rounded strokes, has four variants in the free package, and gives every icon its own hover motion.

At a glance

Kubai IconsHugeicons
StyleThree styles that share names: line, two-tone solid and layered colorLine icons; the free set is drawn in one style, Stroke Rounded
Grid & strokeLine: 24 grid, rounded strokes, any width above 0 (default 2). Two-tone: 16 grid, solid24 grid, rounded strokes, 1.5 wide by default and adjustable
Hover animationBuilt into every icon: a lock's shackle lifts open, a bookmark ribbon grows downNone built in; icons are static SVG
IconsAbout 1,440 line, 802 two-tone and 979 layered (3,105 with badged and slashed versions)Several thousand in the free set; the paid Pro set has many more
VariantsLine: outline, line-duo, fill and solid-tint, all freeFree: Stroke Rounded only. Pro adds more styles, such as solid, duotone and bulk
ColorOne color; the light tone and fill tint are mixed from itOne color; the two-color Pro styles take a primary and a secondary color
PackagesReact, Vue, Svelte, Solid, plain JavaScript, a web component, static SVG and SwiftUIReact, React Native, Vue, Svelte and Angular, with the icon data in a separate package
LicenseMITFree set MIT; Pro under Hugeicons' paid license

When to choose Hugeicons

  • You need a very wide range of objects in one line style.
  • You want several drawings of the same object to choose from: many names come in numbered versions, such as Home01Icon to Home03Icon and beyond.
  • You build for React Native or Angular, where Hugeicons has a package and Kubai Icons does not. On the web, Kubai's web component works in Angular too.
  • You have a Pro license and want solid, duotone or other styles from the same family.

When to choose Kubai Icons

  • You want hover motion without writing it: each icon acts out what it means, and the motion changes its state where it can.
  • You want filled and two-tone looks without a paid plan: fill, line-duo and solid-tint are variants of every free line icon.
  • You want one set of names across styles: an area can move from line to layered color or two-tone by changing the import.
  • You want new icons in the same style. The kubai-line skill lets a coding agent draw them on the same grid and stroke.

Hugeicons styles & their Kubai equivalents

The free Hugeicons set is one style; the Pro set adds filled and two-color styles. Every Kubai line icon has the matching variants for free, and the two-tone style covers the solid two-color look:

Hugeicons styleLooks likeClosest in Kubai
Stroke Rounded (free)Rounded lines in one colorLine style, variant="outline"
Stroke Sharp, Stroke Standard (Pro)Lines with square or plain cornersNo sharp-cornered style; use outline
Solid (Pro)Filled shapes with details cut outLine style, variant="fill"
Duotone (Pro)Lines over areas filled in a lighter colorLine style, variant="solid-tint"
Twotone (Pro)Lines in two colorsLine style, variant="line-duo"
Bulk (Pro)Solid shapes in a light tone with darker detailsThe two-tone style, kubai-icons-react/duotone

Where Hugeicons takes a primary and a secondary color, Kubai mixes the light tone and the fill tint from one color, or takes them from --kl-light and --kl-fill. See the line guide for the four ways to color line icons.

Switching from Hugeicons

Install the package for your framework. Here it is React:

bash
npm install kubai-icons-react

Hugeicons renders every icon through one HugeiconsIcon component and takes the drawing from a second package. In Kubai Icons each icon is its own component, imported from the line path:

tsx
// Before
import { HugeiconsIcon } from "@hugeicons/react";
import { Home01Icon, Notification01Icon } from "@hugeicons/core-free-icons";

<HugeiconsIcon icon={Home01Icon} size={24} color="currentColor" strokeWidth={1.5} />

// After
import { Home, Bell } from "kubai-icons-react/line";

<Home size={24} strokeWidth={1.5} />
@hugeicons/reactkubai-icons-react/line
icon={Home01Icon}The component itself: <Home />
sizesize, in pixels, default 24
colorcolor, default currentColor
strokeWidthstrokeWidth. Hugeicons draws at 1.5 when it is not set and Kubai at 2, so set strokeWidth={1.5} to keep the same weight
absoluteStrokeWidthNo equivalent; the width is measured at 24 pixels and scales with the icon
primaryColor, secondaryColorcolor with variant="line-duo"; set the light tone with --kl-light
altIcon, showAltRender the other icon yourself. Tap icons such as bookmark take active instead
className and SVG propsPassed through to the SVG

The older hugeicons-react package, now deprecated, exported each icon as a component, such as <Home01Icon />; the same name table applies. In Vue, import from kubai-icons-vue/line and write :stroke-width. See Line style for the variants and colors.

What has no direct equivalent

  • Numbered alternatives. Kubai Icons has one drawing per object, so Home01Icon, Home02Icon and the rest all map to Home.
  • Pro styles. The closest to a solid style are variant="fill" and the two-tone style. There is no sharp-cornered style.
  • Objects outside the line set. Hugeicons covers more objects. Search the line icons; if the object is missing, use the layered or two-tone icon of the same name, or draw it with the skill.

Name table

The closest Kubai line icon for common Hugeicons. Where Hugeicons has numbered versions of an object, the table lists one; the others map to the same Kubai icon.

@hugeicons/core-free-iconskubai-icons-react/line
Home01IconHome
Search01IconSearch
Settings01IconSettings
UserIconUser
UserGroupIconUsers
UserAdd01IconUserPlus
Mail01IconMail
MailOpen01IconMailOpen
Notification01IconBell
Calendar01IconCalendar
Clock01IconClock
Delete02IconTrash
Folder01IconFolder
FolderOpenIconFolderOpen
FileTextIconFileText
Download01IconDownload
Upload01IconUpload
FavouriteIconHeart
StarIconStar
Bookmark01IconBookmark
LockIconLock
LockOpenIconLockOpen
Key01IconKey
ViewIconEye
ViewOffIconEyeOff
Camera01IconCamera
Image01IconImage
CallIconPhone
BubbleChatIconMessageCircle
SentIconSend
Share01IconShare
Location01IconMapPin
MapsIconMap
GlobeIconGlobe
ShoppingCart01IconShoppingCart
CreditCardIconCreditCard
GiftIconGift
Sun01IconSun
Moon02IconMoon
CloudIconCloud
ComputerTerminal01IconTerminal
DatabaseIconDatabase
Menu01IconMenu
FilterIconFilter
CheckmarkCircle01IconCircleCheck
InformationCircleIconInfo
RocketIconRocket
Layers01IconLayers
MoreHorizontalIconMoreHorizontal
MoreVerticalIconMoreVertical
Link01IconLink
PencilIconPencil
Copy01IconCopy
Logout01IconLogOut
Login01IconLogIn
BulbIconLightbulb
Cancel01IconX
Tick02IconCheck
Add01IconPlus
MinusSignIconMinus

For anything else, search the icon library by name or meaning.

Questions

Can I use Hugeicons and Kubai Icons in the same project?

Yes. The packages are independent, so you can switch one screen at a time. Both are rounded line icons on a 24 grid, but the drawings differ, so keep one library per toolbar.

Which stroke width matches Hugeicons?

1.5, which is what Hugeicons draws at by default. Kubai line icons default to 2; set strokeWidth={1.5} once on each icon, or wrap the icons you use in your own component.

Is there a solid style?

Every line icon has variant="fill", with closed shapes filled and details cut out. For a solid look in two colors, use the two-tone style from kubai-icons-react/duotone.

Can I use Kubai Icons in commercial projects?

Yes. Kubai Icons is MIT licensed, which allows commercial use as long as the license notice is kept. The Hugeicons free packages are MIT licensed too; the Pro icons come under Hugeicons' own paid license.