Kubai Icons vs Phosphor Icons
Phosphor is a large, flexible icon family where every icon comes in six weights. Kubai Icons comes in three styles that share names — line icons with adjustable stroke width and four variants, solid two-tone icons and layered color icons — and gives every icon its own hover motion. Both are MIT licensed and have React and Vue packages.
At a glance
| Kubai Icons | Phosphor | |
|---|---|---|
| Style | Three styles that share names: line, two-tone solid and layered color | Flat icons in six weights |
| Hover animation | Built into every icon: a lock's shackle lifts open, a folder opens | None built in; icons are static SVG |
| Icons | About 1,440 line, 802 two-tone and 979 layered (3,105 with badged and slashed versions) | More than 1,500, each in every weight |
| Variants | Line: adjustable stroke width, plus outline, line-duo, fill and solid-tint. Layered: color and soft | Thin, light, regular, bold, fill and duotone |
| Color | One accent color; light tones, fill tints and gradients are derived from it | One color; duotone adds a lighter fill of the same color |
| Packages | React, Vue, Svelte, Solid, plain JavaScript, a web component, static SVG and SwiftUI | React, Vue, an icon font for the web, SVG files, and libraries for Flutter, SwiftUI and other platforms |
| License | MIT | MIT |
When to choose Phosphor
- You want to match icon weight to your typography, from thin to bold, or switch to fill for active states.
- You need one flat style across a very wide range of objects.
- You build for a platform that Kubai Icons has no package for, such as Flutter.
- You prefer an icon font for plain HTML.
When to choose Kubai Icons
- You want icons with color and depth that still match each other, from one accent color.
- You want hover motion without writing it: each icon acts out what the object does.
- You need related states in the same drawing, such as
folder-plus,user-checkorbell-off. - You want new icons in the same style. The Kubai Icons skill lets a coding agent draw them.
Switching from Phosphor
Install the package for your framework. Here it is React:
npm install kubai-icons-reactBoth libraries export each icon with an Icon suffix, so only the import path and the names that differ change:
// Before
import { HouseIcon, BellIcon } from "@phosphor-icons/react";
<HouseIcon size={24} weight="duotone" />
// After (line style; omit "/line" for layered color or use "/duotone" for solid two-tone)
import { HomeIcon, BellIcon } from "kubai-icons-react/line";
<HomeIcon size={24} variant="solid-tint" />size and color work the same way. In the line style (kubai-icons-react/line), replace Phosphor's thin-to-bold weight with strokeWidth (any value above 0, default 2), weight="fill" with variant="fill", and weight="duotone" with variant="solid-tint" or "line-duo". Phosphor's mirrored has no Kubai prop; flip the icon with CSS if you need it. Defaults that Phosphor sets with IconContext are set in Kubai by inheritance: color and the variant follow the nearest parent that sets them. See the line style and Customization.
Name table
The closest Kubai icon for common Phosphor icons. Phosphor also exports the older names without the suffix, such as House, which are now deprecated.
| @phosphor-icons/react | kubai-icons-react |
|---|---|
HouseIcon | HomeIcon |
MagnifyingGlassIcon | SearchIcon |
GearIcon | SettingsIcon |
UserIcon | UserIcon |
UsersIcon | UsersIcon |
UserPlusIcon | UserPlusIcon |
EnvelopeIcon | MailIcon |
EnvelopeOpenIcon | MailOpenIcon |
BellIcon | BellIcon |
BellSlashIcon | BellOffIcon |
CalendarIcon | CalendarIcon |
ClockIcon | ClockIcon |
TrashIcon | TrashIcon |
FolderIcon | FolderIcon |
FolderOpenIcon | FolderOpenIcon |
FileTextIcon | FileTextIcon |
DownloadSimpleIcon | DownloadIcon |
HeartIcon | HeartIcon |
StarIcon | StarIcon |
BookmarkIcon | BookmarkIcon |
LockIcon | LockIcon |
LockOpenIcon | LockOpenIcon |
KeyIcon | KeyIcon |
EyeIcon | EyeIcon |
EyeSlashIcon | EyeOffIcon |
CameraIcon | CameraIcon |
ImageIcon | ImageIcon |
MusicNotesIcon | MusicIcon |
PhoneIcon | PhoneIcon |
PaperPlaneTiltIcon | SendIcon |
ShareNetworkIcon | ShareIcon |
MapPinIcon | MapPinIcon |
MapTrifoldIcon | MapIcon |
GlobeIcon | GlobeIcon |
ShoppingCartIcon | ShoppingCartIcon |
CreditCardIcon | CreditCardIcon |
GiftIcon | GiftIcon |
SunIcon | SunIcon |
MoonIcon | MoonIcon |
CloudIcon | CloudIcon |
TerminalWindowIcon | TerminalIcon |
DatabaseIcon | DatabaseIcon |
ListIcon | MenuIcon |
FunnelIcon | FilterIcon |
CheckCircleIcon | CircleCheckIcon |
WarningIcon | TriangleAlertIcon |
InfoIcon | InfoIcon |
RocketIcon | RocketIcon |
StackIcon | LayersIcon |
DotsThreeIcon | MoreHorizontalIcon |
For anything else, search the icon library by name or meaning.
Questions
Can I use Phosphor and Kubai Icons in the same project?
Yes. The packages are independent, so you can switch one screen at a time. The two styles look different side by side, so mixing them in one toolbar is best avoided.
Is there a thin or bold weight?
Yes, in the line style (kubai-icons-react/line): set strokeWidth to any value above 0 (for example 1.5 for light, 2 for regular and 2.5 for bold), or use variant="fill" for filled shapes.
How much does an icon add to the bundle?
Minified and gzipped, the first Kubai icon adds about 4 KB including the shared runtime, and each further icon about 0.6 KB. Icons you do not import are removed.
Can I use Kubai Icons in commercial projects?
Yes. Like Phosphor, Kubai Icons is MIT licensed, which allows commercial use as long as the license notice is kept.