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 IconsMaterial Symbols
StyleThree styles that share names: line, two-tone solid and layered colorThree styles: Outlined, Rounded and Sharp
GridLine: 24 grid, rounded strokes. Two-tone: 16 grid, solid24 grid at the default size, with optical sizes from 20 to 48
AdjustingLine: any stroke width above 0 and four variants, set with propsVariable font axes: fill, weight (100 to 700), grade and optical size
Hover animationBuilt into every icon: a lock's shackle lifts open, a bookmark ribbon grows downNone built in; changes between axis values can be animated with CSS
IconsAbout 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
DeliveryReact, Vue, Svelte, Solid, plain JavaScript, a web component, static SVG and SwiftUIA variable icon font from Google Fonts and SVG files; community packages wrap them for frameworks
LicenseMITApache 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 home inside 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-duo puts inner parts in a light tone, and solid-tint puts 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:

bash
npm install kubai-icons-react

Import from the line path, and move the font settings into props:

tsx
// 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 Symbolskubai-icons-react/line
font-sizesize, in pixels, default 24
CSS colorcolor, default currentColor, so the text color still applies
FILL 1variant="fill", or variant="solid-tint" for lines over a light fill
wghtstrokeWidth. Choose by eye: about 2 for the default weight of 400, less for lighter weights and more for bolder ones
GRADNo equivalent; a slightly smaller strokeWidth does the same job on dark backgrounds
opszNo equivalent; use 2.5 at 16 pixels and 1.5 at 32 pixels and above
Outlined, Rounded, SharpThe 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 DynamicIcon from kubai-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 Symbolskubai-icons-react/line
homeHome
searchSearch
settingsSettings
personUser
groupUsers
person_addUserPlus
mailMail
draftsMailOpen
notificationsBell
calendar_todayCalendar
scheduleClock
deleteTrash
folderFolder
folder_openFolderOpen
descriptionFileText
downloadDownload
uploadUpload
favoriteHeart
starStar
bookmarkBookmark
lockLock
lock_openLockOpen
keyKey
visibilityEye
visibility_offEyeOff
notifications_offBellOff
photo_cameraCamera
imageImage
callPhone
chat_bubbleMessageCircle
sendSend
shareShare
location_onMapPin
mapMap
publicGlobe
shopping_cartShoppingCart
credit_cardCreditCard
redeemGift
light_modeSun
dark_modeMoon
cloudCloud
terminalTerminal
databaseDatabase
menuMenu
filter_altFilter
check_circleCircleCheck
warningTriangleAlert
infoInfo
rocket_launchRocket
layersLayers
more_horizMoreHorizontal
more_vertMoreVertical
linkLink
editPencil
content_copyCopy
logoutLogOut
loginLogIn
lightbulbLightbulb
closeX
checkCheck
addPlus
removeMinus
keyboard_arrow_downChevronDown
arrow_forwardArrowRight
progress_activityLoaderCircle

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.