Kubai Icons vs Tabler Icons
Tabler Icons is a very large set of line icons on a 24 grid with a 2-pixel rounded stroke. The Kubai line style is drawn on the same grid with the same default stroke, comes in four variants, and gives every icon its own hover motion. Both are MIT licensed.
At a glance
| Kubai Icons | Tabler Icons | |
|---|---|---|
| Style | Three styles that share names: line, two-tone solid and layered color | Line icons, with filled versions of some |
| Grid & stroke | Line: 24 grid, rounded strokes, any width above 0 (default 2). Two-tone: 16 grid, solid | 24 grid, rounded strokes, 2 wide by default and adjustable |
| Hover animation | Built into every icon: a lock's shackle lifts open, a bookmark ribbon grows down | 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 5,000 outline icons, about 1,000 of them also filled |
| Variants | Line: outline, line-duo, fill and solid-tint, for every icon | Outline, and a separate filled icon where one exists |
| Color | One color; the light tone and fill tint are mixed from it | One color for the stroke or the fill |
| Packages | React, Vue, Svelte, Solid, plain JavaScript, a web component, static SVG and SwiftUI | React, Vue, Svelte, Solid, Preact, Angular, React Native, a webfont and SVG files |
| License | MIT | MIT |
When to choose Tabler Icons
- You need a very wide range of objects in one line style, including niche technical and business topics.
- You need brand logos: Tabler has several hundred
brand-icons, and Kubai Icons has none. - You build for a framework that Kubai Icons has no package for, such as Solid, Angular or React Native.
- You want an icon font, or the smallest possible markup: a Tabler icon is a few stroked paths with no runtime.
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 more than outline and filled. Every line icon also has
line-duo, with inner parts in a light tone, andsolid-tint, with lines over a light fill, set with one prop. - 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.
Switching from Tabler Icons
Install the package for your framework. Here it is React:
npm install kubai-icons-reactImport from the line path. Tabler names start with Icon; Kubai names don't, and also come with an Icon suffix, such as HomeIcon, if you prefer it. A filled Tabler icon becomes the same Kubai icon with a variant:
// Before
import { IconHome, IconBell, IconHeartFilled } from "@tabler/icons-react";
<IconHome size={24} stroke={1.5} />
<IconHeartFilled size={20} />
// After
import { Home, Bell, Heart } from "kubai-icons-react/line";
<Home size={24} strokeWidth={1.5} />
<Heart size={20} variant="fill" />| @tabler/icons-react | kubai-icons-react/line |
|---|---|
size | size, in pixels, default 24 |
color | color, default currentColor |
stroke | strokeWidth. Both default to 2, so a default stroke needs no change |
Icon…Filled | variant="fill" on the same icon |
title | title; without it the icon is hidden from screen readers |
className and SVG props | Passed through to the SVG |
Tabler adds the classes tabler-icon and tabler-icon-home to each SVG. If your CSS selects them, use kubai-line and kubai-icon-home instead. In Vue, import from kubai-icons-vue/line and write :stroke-width where you wrote :stroke. If you use the Tabler webfont, replace <i class="ti ti-home"> with the web component, <kubai-icon name="home" icon-style="line">; see No build step.
What has no direct equivalent
- Brand logos. Keep Tabler's
brand-icons for those, or use each brand's own SVG. - Objects outside the line set. Tabler covers several times as many 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 Tabler icons. The Vue packages of both libraries use the same names as React.
| @tabler/icons-react | kubai-icons-react/line |
|---|---|
IconHome | Home |
IconSearch | Search |
IconSettings | Settings |
IconUser | User |
IconUsers | Users |
IconUserPlus | UserPlus |
IconMail | Mail |
IconMailOpened | MailOpen |
IconBell | Bell |
IconCalendar | Calendar |
IconClock | Clock |
IconTrash | Trash |
IconFolder | Folder |
IconFolderOpen | FolderOpen |
IconFileText | FileText |
IconDownload | Download |
IconUpload | Upload |
IconHeart | Heart |
IconStar | Star |
IconBookmark | Bookmark |
IconLock | Lock |
IconLockOpen | LockOpen |
IconKey | Key |
IconEye | Eye |
IconEyeOff | EyeOff |
IconBellOff | BellOff |
IconCamera | Camera |
IconCameraOff | CameraOff |
IconPhoto | Image |
IconPhone | Phone |
IconMessageCircle | MessageCircle |
IconSend | Send |
IconShare | Share |
IconMapPin | MapPin |
IconMap | Map |
IconWorld | Globe |
IconShoppingCart | ShoppingCart |
IconCreditCard | CreditCard |
IconGift | Gift |
IconSun | Sun |
IconMoon | Moon |
IconCloud | Cloud |
IconTerminal | Terminal |
IconDatabase | Database |
IconMenu2 | Menu |
IconFilter | Filter |
IconCircleCheck | CircleCheck |
IconAlertTriangle | TriangleAlert |
IconInfoCircle | Info |
IconRocket | Rocket |
IconStack2 | Layers |
IconDots | MoreHorizontal |
IconDotsVertical | MoreVertical |
IconLink | Link |
IconPencil | Pencil |
IconCopy | Copy |
IconLogout | LogOut |
IconLogin | LogIn |
IconBulb | Lightbulb |
IconX | X |
IconCheck | Check |
IconPlus | Plus |
IconMinus | Minus |
IconChevronDown | ChevronDown |
IconArrowRight | ArrowRight |
IconLoader2 | LoaderCircle |
For anything else, search the icon library by name or meaning.
Questions
Can I use Tabler Icons and Kubai Icons in the same project?
Yes. The packages are independent, so you can switch one screen at a time. Both are line icons on a 24 grid with a 2-pixel stroke by default, so they sit together better than most pairs, but the drawings still differ, so keep one library per toolbar.
Will my stroke width carry over?
Yes. Tabler's stroke and Kubai's strokeWidth both measure the stroke at 24 pixels, and both default to 2. Kubai accepts any width above 0.
Is there a filled version of every icon?
Yes. Every line icon has variant="fill", with closed shapes filled and details cut out, and variant="solid-tint", with lines over a light fill.
Can I use Kubai Icons in commercial projects?
Yes. Like Tabler Icons, Kubai Icons is MIT licensed, which allows commercial use as long as the license notice is kept.