JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 26
  • Score
    100M100P100Q52774F
  • License LICENSE

Lucide icon library package for Qwik applications

Package Exports

  • lucide-icons-qwik

Readme

Lucide - Beautiful & consistent icon toolkit made by the community. Open-source project and a fork of Feather Icons. Lucide - Beautiful & consistent icon toolkit made by the community. Open-source project and a fork of Feather Icons. Qwik Logo

Unofficial Lucide icon library for Qwik applications.

npm NPM Downloads GitHub

About Lucide · Lucide Icons · License

Lucide Qwik

An unofficial implementation of the lucide icon library for Qwik applications, continuing development from lucide-qwik to be up-to-date.

Installation

pnpm add lucide-icons-qwik
npm install lucide-icons-qwik
yarn add lucide-icons-qwik
bun add lucide-icons-qwik

Documentation

Include

You can import the icon(s) you need as usual:

import { ThumbsUp } from "lucide-icons-qwik";

or import them all at once:

import * as Icons from "lucide-icons-qwik";

export const App = component$(() => {
  return <div>
    <Icons.ThumbsUp />
    <Icons.BatteryCharging />
  </div>;
});

Props

Lucide Icon component have these optional props:

export interface IconProps extends QwikDOMAttributes {
  size?: number,            // default: 24
  color?: string,           // default: "currentColor"
  strokeWidth?: number,     // default: 2
  strokeLinecap?: "round" | "butt" | "square" | "inherit" | undefined,   // default: "round"
  strokeLinejoin?: "round" | "inherit" | "miter" | "bevel" | undefined   // default: "round"
}

Notice that IconProps extends QwikDOMAttributes so Icon component also have attributes like class, onClick$, key, etc.

Community

Lucide Discord server Join the Luminescent Discord server for support for this unofficial package

License

Lucide is licensed under the ISC license. See LICENSE. This library is licensed under MIT License.