@mui-symbols-material/w100
v0.3.3
Published
Material Design symbols distributed as SVG React components.
Downloads
15
Maintainers
Readme
@mui-symbols-material/w100
This package provides the Google Material Symbols with weight 100 converted to SvgIcon
components.
Installation
Install the package in your project directory with:
npm install @mui-symbols-material/w100
To install icons of a different weight, simply replace 100
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
Usage
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/w100'; // Replace 100 with your desired weight
/**
* Renders all variants of the favorite icon from Material Symbols.
*/
function MyComponent() {
return (
<>
<FavoriteOutlined />
<FavoriteRounded />
<FavoriteSharp />
<FavoriteFilledOutlined />
<FavoriteFilledRounded />
<FavoriteFilledSharp />
</>
);
}
Styles
- 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.
Filled Version
Each icon also comes in a filled version, providing a different aesthetic and allowing for greater versatility in their usage.
Weights
Icons are available in multiple weights (100, 200, ..., 700), providing flexibility in design and emphasis.
Design Specifications
All icons are based on a standard 24px optical size and a default 0 grade.
Documentation
Contributing
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