qwik-iconify
v0.1.0
Published
A Qwik library for Iconify integration
Readme
Qwik Iconify
Install
Package avaiable at the NPM registry.
qwik-iconify
Example
bun add -D qwik-iconify @iconify-json/lucideimport Iconify from "qwik-iconify";
import { icons as lucide } from "@iconify-json/lucide";
<Iconify
iconSet={lucide}
iconName="heart"
size="500px"
stroke-width="2"
fill="red"
stroke="magenta"
style={{
"--icon-stroke-color": "green",
"--icon-fill-color": "gray",
}}
/>;Some notes
- All props except
iconSetandiconNameare optional. - The default size is
1em - The default stroke color is
var(--icon-stroke-color, currentColor) - The default fill color is
var(--icon-fill-color, none)
