Skip to content

ZhangWei-KUMO/react-dynamic-vector-icons

Repository files navigation

React Dynamic Vector Icons

Dynamic icons for your React project.

Install

npm run install react-dynamic-vector-icons
# or
yarn add react-dynamic-vector-icons

Usage

import { CheckBoard,DoubleCheck } from 'react-dynamic-vector-icons';

export default () =>(
  <div>
      <CheckBoard />
      <DoubleCheck size="90" type="loopPlay"/>
  </div>
)

Properties

Any Text property and the following:

Name type Description Default
size String Size of the icon "80"

Icon categories

  • CheckBoard
  • DoubleCheck
  • Finance
  • Feedback
  • GuideBoarder
  • Icecream
  • Industry
  • Navigator
  • Rain
  • Thermometer
  • Tools
  • Wifi

Support Some SSR Frames

Maybe you could use some SSR React Frames,such as next.js,you can import it as follows:

const GuideBoarder = dynamic(() => import("react-dynamic-vector-icons").then((mod) => mod.GuideBoarder), { ssr: false });

License

This project is licenced under the MIT License.

About

A set of dynamic vector icons for React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages