This package provides the Google Material Symbols with weight 200 converted to SvgIcon
components.
Install the package in your project directory with:
npm install @mui-symbols-material/w200
To install icons of a different weight, simply replace 200
with the desired weight in the installation command.
These components use the Material UI's SvgIcon component to render the SVG path for each icon.
If you are not already using Material UI in your project, you can add it with:
npm install @mui/material
Once installed, you can use the icons in your React components:
import React from 'react';
import {
FavoriteOutlined,
FavoriteRounded,
FavoriteSharp,
FavoriteFilledOutlined,
FavoriteFilledRounded,
FavoriteFilledSharp,
} from '@mui-symbols-material/w200'; // Replace 200 with your desired weight
/**
* Renders all variants of the favorite icon from Material Symbols.
*/
function MyComponent() {
return (
<>
<FavoriteOutlined />
<FavoriteRounded />
<FavoriteSharp />
<FavoriteFilledOutlined />
<FavoriteFilledRounded />
<FavoriteFilledSharp />
</>
);
}
- Outlined: These icons have a distinct outline, providing a clear and crisp appearance.
- Rounded: These icons have rounded edges, offering a softer and more subtle appearance.
- Sharp: These icons have sharp edges, giving a bold and striking appearance.
Each icon also comes in a filled version, providing a different aesthetic and allowing for greater versatility in their usage.
Icons are available in multiple weights (100, 200, ..., 700), providing flexibility in design and emphasis.
All icons are based on a standard 24px optical size and a default 0 grade.
This icon set is meant to be in sync with Google's Material Symbols. Therefore, we don't accept fixes, additions, or any other contributions that would make this package diverge from the source.
To synchronize with Material Icons, do the following:
- Inside this workspace run
pnpm src:download
- Inside this workspace run
pnpm src:icons && pnpm build