0.1.31 • Published 1 year ago

@jabirdeveloper/material-symbols v0.1.31

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Material Symbols for React Project

This is just a simple library to use Material Symbols in your React project. You can learn more about Material Symbols from this link: https://fonts.google.com/icons. This library also includes other libraries namely: material-symbols, clsx, and tailwind-merge.

Installation

npm i @jabirdeveloper/material-symbols

Usage

Import in CSS (example: index.css in Vite):

@import "material-symbols";

Component Symbol props:

Example code to display icon:

...
import { Symbols } from "@jabirdeveloper/material-symbols";

function App() {

  return (
    <>
      ...
        <Symbols filled variants="rounded" grade="high" opticalSize={48}>
          home
        </Symbols>
      ...
    </>
  );
}

export default App;

Thank you

0.1.30

1 year ago

0.1.31

1 year ago

0.1.27

1 year ago

0.1.28

1 year ago

0.1.29

1 year ago

0.1.25

1 year ago

0.1.26

1 year ago

0.1.24

1 year ago

0.1.23

1 year ago

0.1.22

1 year ago

0.1.21

1 year ago

0.1.20

1 year ago

0.1.19

1 year ago

0.1.1804241438

1 year ago

0.1.18424

1 year ago

0.0.1

3 years ago