Filled icons Combining icons Dynamic imports Auto importingFigma plugin showcaseAdd a Contributors License AgreementConventions for naming icons Write conventions for naming icons #112Second library for superfluous icons Some proposed icons are nicely designed but have unknown usecase. Discussions in Make...
This results a filled phone icon. ### One generic icon component It is possible to create one generic icon component to load icons. > ⚠️ Example below importing all EsModules, caution using this example, not recommended when you bundle your application,the build size will grow strongly....
简单使用 import {Home} from '@icon-park/react'; <Home/> <Home theme="filled"/> 封装一下,避免每个页面导入,更换图标库也更方便 import {Home} from '@icon-park/react'; const Icons={ home: Home } export default Icons; 使用 import Icons from "@/components/icons" export default function Te...
简单使用 import{Home}from'@icon-park/react';<Home/><Home theme="filled"/> 封装一下,避免每个页面导入,更换图标库也更方便 import{Home}from'@icon-park/react';constIcons={home:Home}exportdefaultIcons; 使用 importIconsfrom"@/components/icons"exportdefaultfunctionTest(){return(<Icons.home theme="f...