npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zcorpo/react-material-symbols

v0.1.5

Published

Material Symbols icons as React SVG components — no font loading, full tree shaking

Downloads

825

Readme

@zcorpo/react-material-symbols

npm license

7,758 Material Symbols icons as React SVG components.

  • No font loading, no web requests — pure inline SVG
  • Full tree shaking — production bundles include only what you import
  • 21 combinations: 7 weights × 3 styles (outlined / rounded / sharp)
  • Every icon ships with a filled variant (SearchFill, HomeFill, …)
  • size prop, full SVGProps passthrough, color via CSS currentColor
  • ESM + CJS, TypeScript declarations included

Installation

npm install @zcorpo/react-material-symbols
# pnpm add @zcorpo/react-material-symbols
# yarn add @zcorpo/react-material-symbols

Quick start

import { Search, Home, Settings } from '@zcorpo/react-material-symbols/400/rounded'

export default function App() {
  return (
    <nav>
      <Home size={24} />
      <Search size={24} style={{ color: 'royalblue' }} />
      <Settings size={24} className="icon" aria-label="Settings" />
    </nav>
  )
}

Import paths

Choose a weight (100700) and style:

import { ... } from '@zcorpo/react-material-symbols/400/outlined'
import { ... } from '@zcorpo/react-material-symbols/400/rounded'   // recommended default
import { ... } from '@zcorpo/react-material-symbols/400/sharp'

All 21 paths follow the same pattern — swap weight and style as needed:

/100/outlined   /100/rounded   /100/sharp
/200/outlined   /200/rounded   /200/sharp
/300/outlined   /300/rounded   /300/sharp
/400/outlined   /400/rounded   /400/sharp  ← default export (main/module)
/500/outlined   /500/rounded   /500/sharp
/600/outlined   /600/rounded   /600/sharp
/700/outlined   /700/rounded   /700/sharp

Fill variants

Every icon has a pre-built filled variant with a Fill suffix:

import { Favorite, FavoriteFill, Star, StarFill } from '@zcorpo/react-material-symbols/400/rounded'

function LikeButton({ liked }: { liked: boolean }) {
  return liked ? <FavoriteFill size={24} style={{ color: 'red' }} /> : <Favorite size={24} />
}

Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | size | number | 24 | Sets both width and height | | ...props | SVGProps<SVGSVGElement> | — | All standard SVG attributes (className, style, aria-*, etc.) |

Icons render with fill="currentColor" — color is set via the CSS color property:

<Search size={32} className="text-blue-500" />
<Search size={32} style={{ color: '#1a73e8' }} />

Weight reference

| Weight | Style | |--------|-------| | 100 | Thin | | 200 | Extra-light | | 300 | Light | | 400 | Regular (recommended) | | 500 | Medium | | 600 | Semi-bold | | 700 | Bold |

Framework examples

Next.js (App Router)

// app/components/Nav.tsx
import { Home, Search, Settings } from '@zcorpo/react-material-symbols/400/rounded'

export function Nav() {
  return (
    <nav className="flex gap-4">
      <Home size={24} />
      <Search size={24} />
      <Settings size={24} />
    </nav>
  )
}

Vite / React

import { ArrowBack, Check } from '@zcorpo/react-material-symbols/400/outlined'

function SuccessBanner() {
  return (
    <div>
      <Check size={20} style={{ color: 'green' }} />
      Done
    </div>
  )
}

Icons starting with a digit

Icons whose original names start with a digit are prefixed with Icon to produce valid identifiers:

import { Icon10k, Icon360, Icon1kPlus } from '@zcorpo/react-material-symbols/400/rounded'

Tree shaking

This package is marked "sideEffects": false. Modern bundlers (webpack 5+, Vite/Rollup, esbuild) will include only the icons you import in production builds. For optimal results, import named exports from a specific subpath rather than dynamic lookups.

License

MIT — SVG artwork from google/material-design-icons (Apache 2.0).