UNPKG

lucide-static

Version:

Lucide is a community-run fork of Feather Icons, open for anyone to contribute icons.

97 lines (65 loc) • 3.3 kB
<p align="center"> <a href="https://github.com/lucide-icons/lucide"> <img src="https://lucide.dev/package-logos/lucide-static.svg" alt="Lucide icon library with static assets for web applications" width="540"> </a> </p> <p align="center"> Lucide icon library with static assets for web applications. </p> <div align="center"> [![npm](https://img.shields.io/npm/v/lucide-static?color=blue)](https://www.npmjs.com/package/lucide-static) ![NPM Downloads](https://img.shields.io/npm/dw/lucide-static) [![License](https://img.shields.io/badge/license-ISC-green)](https://lucide.dev/license) </div> <p align="center"> <a href="https://lucide.dev/guide/">About</a> · <a href="https://lucide.dev/icons/">Icons</a> · <a href="https://lucide.dev/guide/static">Documentation</a> · <a href="https://lucide.dev/license">License</a> </p> # Lucide Static This package include the following Lucide implementations: - All svg files - Javascript library containing strings of svgs. - Icon fonts - Svg sprite > What is lucide? Read it [here](https://github.com/lucide-icons/lucide#what-is-lucide). ## Why lucide-static? This package is suitable for very specific use cases for example if you want to use icon fonts, svg sprites, normal svgs or Common.js Svg strings in your javascript project. > [!WARNING] > It is not recommended to use this package for SVG sprites or icon fonts for web pages/applications; for prototyping, it is ok. We recommend that bundlers for web applications make sure you only bundle the used icons from this icon library (tree-shaking). Otherwise, it will load all the icons, making your webpage load more slowly. Tree-shaking is available in our other [packages](https://lucide.dev/packages). ## Installation ```sh pnpm add lucide-static ``` ```sh npm install lucide-static ``` ```sh yarn add lucide-static ``` ```sh bun add lucide-static ``` ## Documentation For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-static) ## Community Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintainers and other users. ## License Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). [//]: <> (Sponsors) ## Sponsors <a href="https://vercel.com?utm_source=lucide&utm_campaign=oss"> <img src="https://lucide.dev/vercel.svg" alt="Powered by Vercel" width="200" /> </a> [//]: <> (Sponsor tiers start) ### Bronze 🥉 <a href="https://about.sourcegraph.com"><picture><source media="(prefers-color-scheme: dark)" srcset="https://lucide.dev/sponsors/dark/sourcegraph.svg" /><img src="https://lucide.dev/sponsors/sourcegraph.svg" height="48" alt="Sourcegraph – Understand, fix, and automate across your codebase with Sourcegraph's code intelligence platform" /></picture></a> &nbsp;&nbsp; <a href="https://opencollective.com/zephyr-cloud"><picture><source media="(prefers-color-scheme: dark)" srcset="https://lucide.dev/sponsors/dark/zephyr-cloud.svg" /><img src="https://lucide.dev/sponsors/zephyr-cloud.svg" height="48" alt="Zephyr Cloud" /></picture></a> [//]: <> (Sponsor tiers end) ### Other contributors 💸 You can find all our past and non-recurring financial contributors at [our Open Collective page](https://opencollective.com/lucide-icons).