1.0.33 • Published 4 months ago

material-design-icons-literal-types v1.0.33

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

Material Design Icons Literal Types

This package provides TypeScript literal types for the icon names from the Google Material Design Icons repository. It allows you to use the icon names with type safety in your TypeScript projects.

Installation

Install the package

npm install -D material-design-icons-literal-types
pnpm add -D material-design-icons-literal-types
yarn add -D material-design-icons-literal-types

Usage

Import the desired icon type from the package

import {MaterialSymbols} from 'material-design-icons-literal-types'

const mySymbol: MaterialSymbols = 'home'
import {MaterialIcons} from 'material-design-icons-literal-types'

const myIcon: MaterialIcons = 'home'

The package provides the following literal types:

  • MaterialSymbols: Icon names for the Material Symbols icon set.
  • MaterialIcons: Icon names for the Material Icons icon set.

Using these literal types ensures that you are using valid icon names and helps catch typos during development.

Updating Icon Types

The icon types are automatically updated every Monday, Wednesday, and Friday at midnight (UTC) through a GitHub Actions workflow. This ensures that the package stays up to date with the latest icons from the Material Design Icons repository.

License

This project is licensed under the ISC License - see the LICENSE file for details.

1.0.29

8 months ago

1.0.28

8 months ago

1.0.27

8 months ago

1.0.33

4 months ago

1.0.32

6 months ago

1.0.31

6 months ago

1.0.30

7 months ago

1.0.26

9 months ago

1.0.25

9 months ago

1.0.24

10 months ago

1.0.23

10 months ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.3

1 year ago

1.0.22

11 months ago

1.0.21

11 months ago

1.0.20

12 months ago

1.0.2

1 year ago

1.0.0

1 year ago