1.0.40 • Published 4 months ago

svg-icons-react v1.0.40

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

svg-icons-react

Install

npm i svg-icons-react

image

Follow mingcute icons, latest version v2.92(2810 icons)

Basic Usage

import { CalendarMonthFill } from 'svg-icons-react'

<CalendarMonthFill size="24" color="#0066ff" />

Gradient Usage

const colorGradient = {
  from: { x: 0, y: 0 },
  to: { x: 0, y: 1 },
  steps: [
    {
      offset: 0, // 0 <= offset <= 100
      color: "#ff0000",
      opacity: 100
    },
    {
      offset: 25, // 0 <= offset <= 100
      color: "yellow",
      opacity: 100
    },
    {
      offset: 50, // 0 <= offset <= 100
      color: 'purple',
      opacity: 100
    },
    {
      offset: 80, // 0 <= offset <= 100
      color: "cyan",
      opacity: 100
    }
  ]
}

<CalendarMonthFill size="24" gradient={colorGradient} />

from & to rule

[0,0]------[1,0]
  |          |
  |          |
  |          |
[0,1]------[1,1]

Steps

open website https://www.mingcute.com find a icon you want to use in you code, then figure out the name of icon, which almost like calendar_month_fill, you need to replace underline to uppercase include first character, e.g:

calendar_month_fill -> CalendarMonthFill

then use <CalendarMonthFill size="24" color="#0066ff" />

Icons Resourese

https://www.mingcute.com

1.0.39

4 months ago

1.0.40

4 months ago

1.0.38

5 months ago

1.0.37

5 months ago

1.0.29

7 months ago

1.0.28

7 months ago

1.0.27

7 months ago

1.0.33

7 months ago

1.0.32

7 months ago

1.0.31

7 months ago

1.0.30

7 months ago

1.0.36

7 months ago

1.0.35

7 months ago

1.0.34

7 months ago

1.0.26

8 months ago

1.0.25

9 months ago

1.0.24

9 months ago

1.0.23

9 months ago

1.0.22

9 months ago

1.0.21

9 months ago

1.0.20

9 months ago

1.0.19

9 months ago

1.0.18

9 months ago

1.0.17

9 months ago

1.0.16

10 months ago

1.0.15

10 months ago

1.0.14

10 months ago

1.0.13

10 months ago

1.0.12

10 months ago

1.0.11

10 months ago

1.0.10

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago