Kubai Icons vs Material Symbols
Material Symbols is Google's icon set for Material Design, shipped as a variable font with axes for fill, weight, grade and optical size. The Kubai line style is a set of rounded line icons that you size and style with props, and every icon has its own hover motion.
At a glance
| Kubai Icons | Material Symbols | |
|---|---|---|
| Style | Three styles that share names: line, two-tone solid and layered color | Three styles: Outlined, Rounded and Sharp |
| Grid | Line: 24 grid, rounded strokes. Two-tone: 16 grid, solid | 24 grid at the default size, with optical sizes from 20 to 48 |
| Adjusting | Line: any stroke width above 0 and four variants, set with props | Variable font axes: fill, weight (100 to 700), grade and optical size |
| Hover animation | Built into every icon: a lock's shackle lifts open, a bookmark ribbon grows down | None built in; changes between axis values can be animated with CSS |
| Icons | About 1,440 line, 802 two-tone and 979 layered (3,105 with badged and slashed versions) | More than 3,000, each in all three styles |
| Delivery | React, Vue, Svelte, Solid, plain JavaScript, a web component, static SVG and SwiftUI | A variable icon font from Google Fonts and SVG files; community packages wrap them for frameworks |
| License | MIT | Apache 2.0 |
When to choose Material Symbols
- Your product follows Material Design, or sits next to Android and Google apps, and icons should match them.
- You want to tune weight and grade to your text, or keep icons sharp at small sizes with optical size.
- You want an icon font: type a name such as
homeinside a span, with no JavaScript. - You need a wide range of system and device symbols, each in outlined, rounded and sharp forms.
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 only the icons you use in your bundle: each Kubai icon is its own module, and icons you don't import are left out.
- You want two-color looks:
line-duoputs inner parts in a light tone, andsolid-tintputs lines over a light fill. - You want one set of names across styles: an area can move from line to layered color or two-tone by changing the import.
Switching from Material Symbols
Material Symbols are most often used as a font, so a switch replaces each span with a component. Install the package for your framework. Here it is React:
npm install kubai-icons-reactImport from the line path, and move the font settings into props:
// Before
<span className="material-symbols-rounded">notifications</span>
<span className="material-symbols-rounded" style={{ fontSize: 20, fontVariationSettings: "'FILL' 1" }}>
favorite
</span>
// After
import { Bell, Heart } from "kubai-icons-react/line";
<Bell size={24} />
<Heart size={20} variant="fill" />| Material Symbols | kubai-icons-react/line |
|---|---|
font-size | size, in pixels, default 24 |
CSS color | color, default currentColor, so the text color still applies |
FILL 1 | variant="fill", or variant="solid-tint" for lines over a light fill |
wght | strokeWidth. Choose by eye: about 2 for the default weight of 400, less for lighter weights and more for bolder ones |
GRAD | No equivalent; a slightly smaller strokeWidth does the same job on dark backgrounds |
opsz | No equivalent; use 2.5 at 16 pixels and 1.5 at 32 pixels and above |
| Outlined, Rounded, Sharp | The line style has rounded strokes, closest to Rounded |
For an accessible name, pass title; without it the icon is hidden from screen readers, as a decorative font icon usually is. If you use Material icons through a component library, the same mapping applies: a size prop such as MUI's fontSize becomes size in pixels, and a theme color becomes a CSS color. In plain HTML, the web component replaces the span: <kubai-icon name="bell" icon-style="line">; see No build step.
What has no direct equivalent
- Grade and optical size. Kubai line icons change only their stroke width; pick it for the size and background.
- The sharp style. Line icons have rounded ends and corners only.
- Names typed as text. A Material name inside a span becomes an import. For icons chosen at run time, use
DynamicIconfromkubai-icons-react/line/dynamic, or the web component; both take the name as a string. - Objects outside the line set. Material Symbols covers more objects, especially system and device symbols. 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 kubai-line skill.
Name table
The closest Kubai line icon for common Material Symbols. Material names are in snake case and often use other words, such as person for a user and visibility for an eye.
| Material Symbols | kubai-icons-react/line |
|---|---|
home | Home |
search | Search |
settings | Settings |
person | User |
group | Users |
person_add | UserPlus |
mail | Mail |
drafts | MailOpen |
notifications | Bell |
calendar_today | Calendar |
schedule | Clock |
delete | Trash |
folder | Folder |
folder_open | FolderOpen |
description | FileText |
download | Download |
upload | Upload |
favorite | Heart |
star | Star |
bookmark | Bookmark |
lock | Lock |
lock_open | LockOpen |
key | Key |
visibility | Eye |
visibility_off | EyeOff |
notifications_off | BellOff |
photo_camera | Camera |
image | Image |
call | Phone |
chat_bubble | MessageCircle |
send | Send |
share | Share |
location_on | MapPin |
map | Map |
public | Globe |
shopping_cart | ShoppingCart |
credit_card | CreditCard |
redeem | Gift |
light_mode | Sun |
dark_mode | Moon |
cloud | Cloud |
terminal | Terminal |
database | Database |
menu | Menu |
filter_alt | Filter |
check_circle | CircleCheck |
warning | TriangleAlert |
info | Info |
rocket_launch | Rocket |
layers | Layers |
more_horiz | MoreHorizontal |
more_vert | MoreVertical |
link | Link |
edit | Pencil |
content_copy | Copy |
logout | LogOut |
login | LogIn |
lightbulb | Lightbulb |
close | X |
check | Check |
add | Plus |
remove | Minus |
keyboard_arrow_down | ChevronDown |
arrow_forward | ArrowRight |
progress_activity | LoaderCircle |
For anything else, search the icon library by name or meaning.
Questions
Can I use Material Symbols and Kubai Icons in the same project?
Yes. They don't depend on each other, so you can switch one screen at a time and remove the font once the last span is gone. The drawings differ, so keep one set per toolbar.
How do I match the Material weight?
Put a Material icon at weight 400 next to a Kubai line icon at the same size and start from strokeWidth={2}. Go down toward 1.5 for lighter weights and up toward 2.5 for bolder ones.
Do Kubai icons flash in late like a font can?
No. Components render the SVG with the page, also on the server, so there is no moment where the icon name shows as text before a font loads.
Can I use Kubai Icons in commercial projects?
Yes. Kubai Icons is MIT licensed and Material Symbols is Apache 2.0 licensed. Both allow commercial use as long as the license notice is kept.