JSPM

@mui-symbols-material/w400-esm

0.4.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 207
  • Score
    100M100P100Q86291F
  • License MIT

Material Design symbols distributed as SVG React components.

Package Exports

  • @mui-symbols-material/w400-esm
  • @mui-symbols-material/w400-esm/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mui-symbols-material/w400-esm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

MUI Core logo

@mui-symbols-material/w400

This package provides the Google Material Symbols with weight 400 converted to SvgIcon components.

Installation

Install the package in your project directory with:

npm install @mui-symbols-material/w400

To install icons of a different weight, simply replace 400 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/w400'; // Replace 400 with your desired weight

/**
 * Renders all variants of the favorite icon from Material Symbols.
 */
function MyComponent() {
  return (
    <>
      <FavoriteOutlined />
      <FavoriteRounded />
      <FavoriteSharp />
      <FavoriteFilledOutlined />
      <FavoriteFilledRounded />
      <FavoriteFilledSharp />
    </>
  );
}

Styles

  1. Outlined: These icons have a distinct outline, providing a clear and crisp appearance.
  2. Rounded: These icons have rounded edges, offering a softer and more subtle appearance.
  3. 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:

  1. Inside this workspace run pnpm src:download
  2. Inside this workspace run pnpm src:icons && pnpm build